Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 91.45 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.001091, allocations: 178.1 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.827/2.827, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.000356, allocations: 9.594 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3451, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001163/0.3463, allocations: 0.544 MB / 1.06 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.3486, allocations: 1.541 MB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.3488, allocations: 0 / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.3489, allocations: 11.86 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.924e-05/0.349, allocations: 31.77 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.3504, allocations: 490.2 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00055/0.3509, allocations: 423.1 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.3511, allocations: 41.47 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.3514, allocations: 163.6 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.3517, allocations: 135.6 kB / 1.063 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.3518, allocations: 20 kB / 1.063 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.3519, allocations: 31.98 kB / 1.063 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.352, allocations: 31.92 kB / 1.063 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.3522, allocations: 173.2 kB / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.3526, allocations: 279.5 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3526, allocations: 0 / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3526, allocations: 0 / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.3526, allocations: 0 / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000773/0.3534, allocations: 0.575 MB / 1.064 GB, free: 400 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3535, allocations: 11.97 kB / 1.064 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.3536, allocations: 36.73 kB / 1.064 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.354, allocations: 260 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.354, allocations: 16.38 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.3541, allocations: 32.38 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.3544, allocations: 149.4 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3544, allocations: 192 / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.3545, allocations: 15.92 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3545, allocations: 4 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.3546, allocations: 83.88 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009493/0.3556, allocations: 0.7071 MB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.3558, allocations: 167.7 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.391e-05/0.3559, allocations: 45.03 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.3559, allocations: 7.922 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.3562, allocations: 147.2 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.843e-06/0.3562, allocations: 0 / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004908/0.3567, allocations: 250.6 kB / 1.066 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.3568, allocations: 59.41 kB / 1.066 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.3569, allocations: 187.7 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.331e-05/0.357, allocations: 41.7 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3571, allocations: 124.4 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.3572, allocations: 39.55 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.921e-05/0.3573, allocations: 53.69 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3574, allocations: 330.8 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/0.3578, allocations: 155.9 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.3581, allocations: 238.2 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.3586, allocations: 416.7 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3587, allocations: 96 / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001023/0.3597, allocations: 0.6209 MB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.3598, allocations: 160.5 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3598, allocations: 3.938 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.3599, allocations: 4.344 kB / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.503e-05/0.3599, allocations: 23.92 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3599, allocations: 4 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009647/0.3609, allocations: 189.8 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.81e-05/0.361, allocations: 35.97 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000202/0.3612, allocations: 163 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.3612, allocations: 11.81 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.3613, allocations: 21.81 kB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3613, allocations: 4 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3613, allocations: 0 / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3613, allocations: 3.984 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005838/0.3619, allocations: 0.5077 MB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3619, allocations: 0 / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.3619, allocations: 8 kB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3619, allocations: 64 / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.362, allocations: 15.98 kB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.362, allocations: 3.938 kB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.362, allocations: 0 / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.3623, allocations: 280.9 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.3624, allocations: 96.84 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3624, allocations: 7.938 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.3625, allocations: 8 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.3625, allocations: 19.97 kB / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.3625, allocations: 12 kB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.854e-05/0.3626, allocations: 115.2 kB / 1.069 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3626, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003779/0.363, allocations: 79.98 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001967/0.3632, allocations: 115.2 kB / 1.07 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000797/0.364, allocations: 0.614 MB / 1.07 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.364, allocations: 0 / 1.07 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.3642, allocations: 83.89 kB / 1.07 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.3646, allocations: 54.75 kB / 1.07 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.3653, allocations: 402.5 kB / 1.071 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.3656, allocations: 0.7245 MB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.3657, allocations: 19.42 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3657, allocations: 0 / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.006113/0.3718, allocations: 3.308 MB / 1.075 GB, free: 4.633 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mulAnd0.y,mulAnd1.u[1],mulAnd1.y,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[1],mulAnd5.u[2],mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y Variables in the result:mulAnd0.y,mulAnd1.u[1],mulAnd1.y,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[1],mulAnd5.u[2],mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,time