Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conCom.y1.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conCom.y1.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008721/0.008721, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001803/0.001804, allocations: 192.1 kB / 16.67 MB, free: 5.969 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.7/2.7, allocations: 472.6 MB / 0.7453 GB, free: 492 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.946/0.9472, allocations: 159.9 MB / 1.226 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002303/0.9496, allocations: 0.8194 MB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.9514, allocations: 1.171 MB / 1.228 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.9516, allocations: 4 kB / 1.228 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.9517, allocations: 15.86 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.9519, allocations: 19.84 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.9524, allocations: 143.4 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000461/0.9529, allocations: 363.4 kB / 1.228 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.9531, allocations: 110.5 kB / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.9533, allocations: 155.7 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.9536, allocations: 143.6 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.088e-05/0.9536, allocations: 36 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.9538, allocations: 43.98 kB / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.221e-05/0.9539, allocations: 51.84 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.954, allocations: 131.5 kB / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.9545, allocations: 403.3 kB / 1.229 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.9545, allocations: 3.938 kB / 1.229 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9545, allocations: 4 kB / 1.229 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.9545, allocations: 0 / 1.229 GB, free: 9.973 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008817/0.9554, allocations: 0.588 MB / 1.23 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.9555, allocations: 8.031 kB / 1.23 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.011e-05/0.9556, allocations: 32.73 kB / 1.23 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.956, allocations: 280.7 kB / 1.23 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.956, allocations: 16.38 kB / 1.23 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.9561, allocations: 24.38 kB / 1.23 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.9564, allocations: 178.1 kB / 1.23 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.9564, allocations: 192 / 1.23 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.9564, allocations: 11.92 kB / 1.23 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.9565, allocations: 4 kB / 1.23 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.9567, allocations: 143.9 kB / 1.23 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.9577, allocations: 0.6641 MB / 1.231 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.9579, allocations: 130.5 kB / 1.231 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.9581, allocations: 76.8 kB / 1.231 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.9581, allocations: 8.125 kB / 1.231 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.9583, allocations: 175.1 kB / 1.231 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.9584, allocations: 0 / 1.231 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0005137/0.9589, allocations: 295.5 kB / 1.232 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.9589, allocations: 63.33 kB / 1.232 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.9591, allocations: 191 kB / 1.232 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.9592, allocations: 33.7 kB / 1.232 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.9593, allocations: 132.5 kB / 1.232 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.9594, allocations: 47.67 kB / 1.232 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.9595, allocations: 85.66 kB / 1.232 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.9597, allocations: 326.8 kB / 1.232 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/0.9601, allocations: 223.8 kB / 1.233 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.9605, allocations: 275.5 kB / 1.233 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.961, allocations: 399.6 kB / 1.233 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.961, allocations: 0 / 1.233 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009856/0.962, allocations: 0.6245 MB / 1.234 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-05/0.9621, allocations: 98.19 kB / 1.234 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.9621, allocations: 0 / 1.234 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.9622, allocations: 7.984 kB / 1.234 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.9623, allocations: 19.98 kB / 1.234 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.9623, allocations: 7.938 kB / 1.234 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.9628, allocations: 107.7 kB / 1.234 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.9629, allocations: 19.98 kB / 1.234 GB, free: 4.398 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conCom.mulOr.uTemp[2],conCom.y1One,y1[3].y,$PRE.y1[3].y,y1[2].y,$PRE.y1[2].y,y1[1].y,$PRE.y1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 3 * 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.0001773/0.963, allocations: 169.5 kB / 1.234 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.9631, allocations: 19.84 kB / 1.234 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003951/0.9635, allocations: 235.3 kB / 1.235 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.9635, allocations: 0 / 1.235 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.9635, allocations: 4 kB / 1.235 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.9635, allocations: 4 kB / 1.235 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.9638, allocations: 277.4 kB / 1.235 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9638, allocations: 0 / 1.235 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.378e-05/0.9639, allocations: 11.98 kB / 1.235 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.9639, allocations: 0 / 1.235 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.9639, allocations: 8 kB / 1.235 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.9639, allocations: 0 / 1.235 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.964, allocations: 0 / 1.235 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.9643, allocations: 259.5 kB / 1.235 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.9644, allocations: 89.02 kB / 1.235 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.9644, allocations: 4 kB / 1.235 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-05/0.9645, allocations: 8 kB / 1.235 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.653e-05/0.9646, allocations: 19.97 kB / 1.235 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.9646, allocations: 4 kB / 1.235 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001027/0.9647, allocations: 139.5 kB / 1.235 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9647, allocations: 0 / 1.235 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002936/0.965, allocations: 67.89 kB / 1.235 GB, free: 3.004 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1[1].y,y1[2].y,y1[3].y,conCom.y1One,conCom.mulOr.uTemp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001578/0.9652, allocations: 111.2 kB / 1.236 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007239/0.9659, allocations: 0.5603 MB / 1.236 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9659, allocations: 0 / 1.236 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.9661, allocations: 95.88 kB / 1.236 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.9664, allocations: 42.23 kB / 1.236 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007056/0.9671, allocations: 383.6 kB / 1.237 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.9675, allocations: 0.7474 MB / 1.237 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.979e-05/0.9676, allocations: 37.34 kB / 1.237 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.9676, allocations: 15.44 kB / 1.237 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of SimCode: time 2.645e-06/0.9676, allocations: 0 / 1.237 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of Templates: time 0.007221/0.9748, allocations: 3.747 MB / 1.241 GB, free: 13.21 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile (rm -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches