Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.486/2.486, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 189 kB / 498.1 MB, free: 5.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009178/0.0009177, allocations: 100.3 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000531/0.000531, allocations: 11.75 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3381, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/0.5315, allocations: 149.6 MB / 1.369 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/0.5319, allocations: 67.97 kB / 1.369 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02092/0.5529, allocations: 6.825 MB / 1.376 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.246e-06/0.5529, allocations: 0 / 1.376 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.553, allocations: 8 kB / 1.376 GB, free: 5.562 MB / 0.8698 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.0007053/0.5537, allocations: 0.5773 MB / 1.376 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.5537, allocations: 12.03 kB / 1.376 GB, free: 4.895 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.5539, allocations: 27.81 kB / 1.376 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.5542, allocations: 263.8 kB / 1.377 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.5543, allocations: 19.98 kB / 1.377 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.729e-05/0.5544, allocations: 28 kB / 1.377 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.5546, allocations: 151.2 kB / 1.377 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5547, allocations: 7.938 kB / 1.377 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.5547, allocations: 8 kB / 1.377 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5547, allocations: 0 / 1.377 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.5548, allocations: 87.8 kB / 1.377 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008962/0.5557, allocations: 0.6955 MB / 1.378 GB, free: 3.512 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.556, allocations: 179.6 kB / 1.378 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.556, allocations: 0 / 1.378 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.5562, allocations: 155.3 kB / 1.378 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.5562, allocations: 3.938 kB / 1.378 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0004482/0.5567, allocations: 239.2 kB / 1.378 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.5567, allocations: 59.41 kB / 1.378 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.5569, allocations: 173.4 kB / 1.378 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/0.5569, allocations: 37.7 kB / 1.378 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.5571, allocations: 128.4 kB / 1.378 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.5571, allocations: 43.5 kB / 1.379 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.5572, allocations: 16 kB / 1.379 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5573, allocations: 326.8 kB / 1.379 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.5576, allocations: 155.9 kB / 1.379 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.558, allocations: 238.1 kB / 1.379 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.5583, allocations: 285.8 kB / 1.38 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5583, allocations: 0 / 1.38 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009294/0.5593, allocations: 0.6149 MB / 1.38 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.5594, allocations: 160.5 kB / 1.38 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5594, allocations: 7.938 kB / 1.38 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.5594, allocations: 4 kB / 1.38 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.585e-05/0.5595, allocations: 11.92 kB / 1.38 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.5595, allocations: 8.328 kB / 1.38 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007976/0.5603, allocations: 191.7 kB / 1.38 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.5604, allocations: 35.92 kB / 1.381 GB, free: 276 kB / 0.8698 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,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.5606, allocations: 159.1 kB / 1.381 GB, free: 108 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.5606, allocations: 19.81 kB / 1.381 GB, free: 88 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.5607, allocations: 17.86 kB / 1.381 GB, free: 76 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5607, allocations: 4 kB / 1.381 GB, free: 72 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5607, allocations: 0 / 1.381 GB, free: 72 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5607, allocations: 0 / 1.381 GB, free: 72 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.5613, allocations: 0.5034 MB / 1.381 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5613, allocations: 0 / 1.381 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.569e-05/0.5614, allocations: 11.92 kB / 1.381 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.5614, allocations: 0 / 1.381 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.5614, allocations: 8 kB / 1.381 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.5614, allocations: 4 kB / 1.381 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5614, allocations: 0 / 1.381 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.5617, allocations: 280.2 kB / 1.381 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.5618, allocations: 88.92 kB / 1.382 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.5618, allocations: 4 kB / 1.382 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.353e-05/0.5619, allocations: 4.047 kB / 1.382 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.562, allocations: 27.98 kB / 1.382 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.562, allocations: 11.98 kB / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.577e-05/0.5621, allocations: 120.2 kB / 1.382 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5621, allocations: 0 / 1.382 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003648/0.5624, allocations: 83.88 kB / 1.382 GB, free: 14.85 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002171/0.5627, allocations: 134.8 kB / 1.382 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007775/0.5635, allocations: 0.6196 MB / 1.383 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5635, allocations: 0 / 1.383 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.5636, allocations: 79.91 kB / 1.383 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.5639, allocations: 40.59 kB / 1.383 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005891/0.5645, allocations: 357 kB / 1.383 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.5648, allocations: 0.7284 MB / 1.384 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.185e-05/0.5649, allocations: 25.53 kB / 1.384 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.5649, allocations: 15.44 kB / 1.384 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of SimCode: time 5.81e-07/0.565, allocations: 4 kB / 1.384 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of Templates: time 0.007651/0.5726, allocations: 4.128 MB / 1.388 GB, free: 8.648 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches