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.001268/0.001268, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001442, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.821/2.821, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 15.98 kB / 0.8708 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8713/0.8716, allocations: 153.6 MB / 1.021 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001209/0.8729, allocations: 0.5241 MB / 1.021 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.8749, allocations: 1.374 MB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.875, allocations: 0 / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.8751, allocations: 15.86 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.043e-05/0.8752, allocations: 35.92 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.8764, allocations: 476.4 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.8767, allocations: 235.6 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.8768, allocations: 45.39 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.877, allocations: 159.7 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.8772, allocations: 119.7 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.079e-05/0.8772, allocations: 20 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.762e-05/0.8773, allocations: 39.97 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.8774, allocations: 39.91 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.133e-05/0.8775, allocations: 65.58 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.8778, allocations: 285.2 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.8778, allocations: 0 / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8778, allocations: 0 / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.8778, allocations: 0 / 1.024 GB, free: 13.66 MB / 0.7794 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.0007944/0.8786, allocations: 0.5733 MB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.8787, allocations: 19.95 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.576e-05/0.8788, allocations: 23.81 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.8792, allocations: 266.7 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.8792, allocations: 23.94 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.8793, allocations: 31.95 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.8796, allocations: 151.2 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.8796, allocations: 0 / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.8796, allocations: 3.984 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.8796, allocations: 4 kB / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.8798, allocations: 79.95 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000881/0.8807, allocations: 0.711 MB / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.8809, allocations: 167.7 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.8809, allocations: 4 kB / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.8811, allocations: 159.3 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/0.8812, allocations: 0 / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004457/0.8816, allocations: 239.3 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.8817, allocations: 55.41 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.8818, allocations: 183.7 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.609e-05/0.8819, allocations: 37.7 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.882, allocations: 132.4 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.882, allocations: 35.59 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.8821, allocations: 16 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.8822, allocations: 334.8 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.8825, allocations: 151.9 kB / 1.027 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.8828, allocations: 234.9 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.8832, allocations: 290.6 kB / 1.028 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.8832, allocations: 7.953 kB / 1.028 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008943/0.8841, allocations: 0.6149 MB / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.8842, allocations: 168.5 kB / 1.029 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.8843, allocations: 7.938 kB / 1.029 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.8843, allocations: 4 kB / 1.029 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.633e-05/0.8843, allocations: 7.984 kB / 1.029 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.8843, allocations: 7.938 kB / 1.029 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008561/0.8852, allocations: 194.3 kB / 1.029 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/0.8853, allocations: 39.97 kB / 1.029 GB, free: 8.344 MB / 0.7794 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.000171/0.8855, allocations: 151.1 kB / 1.029 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.8855, allocations: 19.77 kB / 1.029 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.8855, allocations: 17.88 kB / 1.029 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.8855, allocations: 4 kB / 1.029 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8856, allocations: 0 / 1.029 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.8856, allocations: 3.984 kB / 1.029 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005338/0.8861, allocations: 0.5114 MB / 1.03 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8861, allocations: 8.062 kB / 1.03 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.722e-05/0.8861, allocations: 4 kB / 1.03 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.8861, allocations: 4.094 kB / 1.03 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.8862, allocations: 7.922 kB / 1.03 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.8862, allocations: 4 kB / 1.03 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8862, allocations: 0 / 1.03 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.8865, allocations: 280.9 kB / 1.03 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.8865, allocations: 100.9 kB / 1.03 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.8866, allocations: 4 kB / 1.03 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.296e-05/0.8866, allocations: 0 / 1.03 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.8867, allocations: 19.97 kB / 1.03 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.8867, allocations: 12 kB / 1.03 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.829e-05/0.8868, allocations: 124.2 kB / 1.03 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8868, allocations: 4 kB / 1.03 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000367/0.8872, allocations: 75.94 kB / 1.03 GB, free: 6.91 MB / 0.7794 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.0001779/0.8874, allocations: 116.4 kB / 1.03 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006875/0.8881, allocations: 0.6139 MB / 1.031 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8881, allocations: 0 / 1.031 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.8882, allocations: 79.89 kB / 1.031 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.8885, allocations: 40.66 kB / 1.031 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005441/0.8891, allocations: 358.4 kB / 1.031 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.8894, allocations: 0.7362 MB / 1.032 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.276e-05/0.8894, allocations: 25.53 kB / 1.032 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.8895, allocations: 19.42 kB / 1.032 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8895, allocations: 0 / 1.032 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of Templates: time 0.006965/0.8964, allocations: 4.143 MB / 1.036 GB, free: 0.7305 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches