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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009532/0.009532, allocations: 101 kB / 15.73 MB, free: 6.477 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.002358/0.002358, allocations: 191 kB / 16.67 MB, free: 6.379 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.498/2.498, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.72 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3533, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002898/0.3563, allocations: 0.8328 MB / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002134/0.3584, allocations: 1.48 MB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.799e-05/0.3585, allocations: 3.938 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.3587, allocations: 15.8 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.945e-05/0.3588, allocations: 39.7 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.3603, allocations: 0.5166 MB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007125/0.361, allocations: 0.5032 MB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.3612, allocations: 37.48 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.3615, allocations: 191.6 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.3618, allocations: 171.5 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.739e-05/0.3619, allocations: 40 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.362, allocations: 55.98 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.3621, allocations: 43.89 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.3623, allocations: 163.5 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.3629, allocations: 410.8 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.3629, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3629, allocations: 7.938 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.3629, allocations: 4 kB / 1.092 GB, free: 12.97 MB / 0.8575 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.0009599/0.3639, allocations: 0.6398 MB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.3639, allocations: 8.031 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.3641, allocations: 28.75 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.3645, allocations: 261 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.3645, allocations: 16.38 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.3646, allocations: 36.31 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.3649, allocations: 151.9 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3649, allocations: 192 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.3649, allocations: 7.938 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3649, allocations: 4 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.3651, allocations: 83.94 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.3662, allocations: 0.6992 MB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.3664, allocations: 171.7 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/0.3665, allocations: 40.84 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.3665, allocations: 0 / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003806/0.3669, allocations: 167.2 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.3669, allocations: 4 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0005251/0.3675, allocations: 248.9 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.3675, allocations: 55.41 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.3677, allocations: 174.8 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/0.3678, allocations: 45.64 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.3679, allocations: 132.4 kB / 1.095 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.368, allocations: 31.66 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.3682, allocations: 121.6 kB / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3683, allocations: 330.8 kB / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.3687, allocations: 159.9 kB / 1.096 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.3691, allocations: 234.2 kB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.3696, allocations: 419.6 kB / 1.096 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3696, allocations: 0 / 1.096 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001019/0.3706, allocations: 0.6188 MB / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.3708, allocations: 170.1 kB / 1.097 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.3708, allocations: 7.938 kB / 1.097 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.3708, allocations: 4 kB / 1.097 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.403e-05/0.3709, allocations: 7.938 kB / 1.097 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.3709, allocations: 4 kB / 1.097 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007059/0.3716, allocations: 143.6 kB / 1.097 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.927e-05/0.3717, allocations: 35.97 kB / 1.097 GB, free: 7.332 MB / 0.8575 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.0001991/0.3719, allocations: 151.1 kB / 1.098 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.3719, allocations: 19.86 kB / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.372, allocations: 29.81 kB / 1.098 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.372, allocations: 0 / 1.098 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.372, allocations: 0 / 1.098 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.372, allocations: 0 / 1.098 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006117/0.3726, allocations: 0.5136 MB / 1.098 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3726, allocations: 0 / 1.098 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.648e-05/0.3726, allocations: 4 kB / 1.098 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.3727, allocations: 4 kB / 1.098 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3727, allocations: 4 kB / 1.098 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3727, allocations: 7.922 kB / 1.098 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3727, allocations: 8 kB / 1.098 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.373, allocations: 285.2 kB / 1.098 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.3731, allocations: 92.86 kB / 1.098 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.3731, allocations: 3.984 kB / 1.098 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.3732, allocations: 8 kB / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.3732, allocations: 23.95 kB / 1.099 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.3733, allocations: 8 kB / 1.099 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.758e-05/0.3734, allocations: 120.2 kB / 1.099 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3734, allocations: 0 / 1.099 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003587/0.3737, allocations: 76 kB / 1.099 GB, free: 5.895 MB / 0.8575 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.0002123/0.3739, allocations: 115.2 kB / 1.099 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007571/0.3747, allocations: 0.6217 MB / 1.099 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3747, allocations: 128 / 1.099 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.3748, allocations: 79.91 kB / 1.1 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.3753, allocations: 47.84 kB / 1.1 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.3759, allocations: 324.2 kB / 1.1 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.3762, allocations: 0.7358 MB / 1.101 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.23e-05/0.3762, allocations: 25.53 kB / 1.101 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.3763, allocations: 15.44 kB / 1.101 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of SimCode: time 1.81e-07/0.3763, allocations: 0 / 1.101 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of Templates: time 0.008106/0.3844, allocations: 4.576 MB / 1.105 GB, free: 15.3 MB / 0.8731 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches