Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009695/0.0009695, allocations: 71.75 kB / 20.97 MB, free: 3.566 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009468/0.0009468, allocations: 169 kB / 24.28 MB, free: 268 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9703/0.9703, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.982/1.982, allocations: 377.8 MB / 0.6239 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.[0-9,]+.|mulAnd1.y|mulAnd2.u.[0-9,]+.|mulAnd2.y|mulAnd5.u.[0-9,]+.|mulAnd5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.[0-9,]+.|mulAnd1.y|mulAnd2.u.[0-9,]+.|mulAnd2.y|mulAnd5.u.[0-9,]+.|mulAnd5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.8115 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.943e-05, allocations: 3.078 kB / 0.8115 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001465/0.001494, allocations: 0.8258 MB / 0.8123 GB, free: 108 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.003186, allocations: 1.527 MB / 0.8138 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.003257, allocations: 3.938 kB / 0.8138 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.003378, allocations: 20.36 kB / 0.8139 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.931e-05/0.003428, allocations: 36.39 kB / 0.8139 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008324/0.00426, allocations: 0.5063 MB / 0.8144 GB, free: 14 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000393/0.004653, allocations: 492.5 kB / 0.8149 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.004785, allocations: 29.66 kB / 0.8149 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.004986, allocations: 255.7 kB / 0.8151 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.005149, allocations: 143.6 kB / 0.8153 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.005199, allocations: 41.53 kB / 0.8153 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.664e-05/0.005285, allocations: 55.92 kB / 0.8154 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.005336, allocations: 43.89 kB / 0.8154 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.005456, allocations: 135.8 kB / 0.8155 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.005777, allocations: 356.4 kB / 0.8159 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.00578, allocations: 4 kB / 0.8159 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005781, allocations: 0 / 0.8159 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.005787, allocations: 0 / 0.8159 GB, free: 12.48 MB / 0.7292 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.000599/0.006386, allocations: 0.6723 MB / 0.8165 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.006425, allocations: 13.19 kB / 0.8165 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.031e-05/0.006515, allocations: 32.84 kB / 0.8166 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.006764, allocations: 208.2 kB / 0.8168 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.006797, allocations: 16.91 kB / 0.8168 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.006839, allocations: 29.09 kB / 0.8168 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.007012, allocations: 129.6 kB / 0.8169 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.00702, allocations: 1.594 kB / 0.8169 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.007033, allocations: 4.375 kB / 0.817 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.007043, allocations: 4.375 kB / 0.817 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.744e-05/0.007111, allocations: 43.84 kB / 0.817 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.007697, allocations: 0.656 MB / 0.8176 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.007825, allocations: 75.05 kB / 0.8177 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.303e-05/0.007868, allocations: 28.41 kB / 0.8177 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.007875, allocations: 0 / 0.8177 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.008031, allocations: 153.7 kB / 0.8179 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 9.92e-07/0.008032, allocations: 1.281 kB / 0.8179 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.0003173/0.008349, allocations: 208.1 kB / 0.8181 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.008393, allocations: 67.33 kB / 0.8181 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.008533, allocations: 244.6 kB / 0.8184 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.008569, allocations: 41.7 kB / 0.8184 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.008653, allocations: 167.4 kB / 0.8186 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.008682, allocations: 47.64 kB / 0.8186 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.008813, allocations: 123.3 kB / 0.8187 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.008926, allocations: 0.4985 MB / 0.8192 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.009175, allocations: 288.2 kB / 0.8195 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.009456, allocations: 397.2 kB / 0.8199 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000549/0.01, allocations: 403.9 kB / 0.8203 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.01001, allocations: 4.062 kB / 0.8203 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006824/0.01069, allocations: 0.7529 MB / 0.821 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.515e-05/0.01077, allocations: 160.5 kB / 0.8212 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01077, allocations: 9.297 kB / 0.8212 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.01079, allocations: 4 kB / 0.8212 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.556e-05/0.01082, allocations: 7.938 kB / 0.8212 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.01082, allocations: 4.625 kB / 0.8212 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.01115, allocations: 122.1 kB / 0.8213 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.01119, allocations: 31.98 kB / 0.8213 GB, free: 6.383 MB / 0.7292 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.0001164/0.01131, allocations: 187.8 kB / 0.8215 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.01133, allocations: 27.84 kB / 0.8215 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.01137, allocations: 23.14 kB / 0.8216 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01137, allocations: 0 / 0.8216 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01137, allocations: 0 / 0.8216 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01138, allocations: 3.938 kB / 0.8216 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.01174, allocations: 462.2 kB / 0.822 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.01174, allocations: 0 / 0.822 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-05/0.01175, allocations: 11.92 kB / 0.822 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01175, allocations: 1.25 kB / 0.822 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.01176, allocations: 8 kB / 0.822 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01176, allocations: 3.938 kB / 0.822 GB, free: 5.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01176, allocations: 3.906 kB / 0.822 GB, free: 5.617 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.01195, allocations: 318.3 kB / 0.8223 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.01197, allocations: 19.84 kB / 0.8224 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.01199, allocations: 8 kB / 0.8224 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4e-05/0.01203, allocations: 7.922 kB / 0.8224 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.01207, allocations: 19.97 kB / 0.8224 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.01208, allocations: 8 kB / 0.8224 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.545e-05/0.01215, allocations: 160.7 kB / 0.8225 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01215, allocations: 3.938 kB / 0.8226 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002457/0.01239, allocations: 79.88 kB / 0.8226 GB, free: 4.988 MB / 0.7292 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.0001422/0.01254, allocations: 114.7 kB / 0.8227 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00052/0.01306, allocations: 0.6783 MB / 0.8234 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01306, allocations: 1.062 kB / 0.8234 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.834e-05/0.01313, allocations: 59.59 kB / 0.8235 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.01342, allocations: 60.31 kB / 0.8235 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.01385, allocations: 312.8 kB / 0.8238 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.416e-05/0.01389, allocations: 72 kB / 0.8239 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.668e-05/0.01394, allocations: 21.97 kB / 0.8239 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.01397, allocations: 21.34 kB / 0.8239 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of SimCode: time 1.052e-06/0.01397, allocations: 0 / 0.8239 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of Templates: time 0.006774/0.02074, allocations: 5.099 MB / 0.8289 GB, free: 14.56 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.257214803015813]