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.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.001883/0.001883, allocations: 104.4 kB / 19.7 MB, free: 2.137 MB / 14.72 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.002521/0.002521, allocations: 217.5 kB / 22.99 MB, free: 4.965 MB / 14.72 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 1.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.186/3.186, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 71.44 kB / 1.187 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3466, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002237/0.3488, allocations: 0.8257 MB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.3505, allocations: 1.175 MB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.3505, allocations: 4 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.3507, allocations: 19.8 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.3508, allocations: 23.84 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.3513, allocations: 145.9 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004446/0.3517, allocations: 339.5 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.3519, allocations: 62.73 kB / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.3521, allocations: 155.7 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.3523, allocations: 159.6 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.798e-05/0.3524, allocations: 35.98 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.3525, allocations: 47.98 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.3526, allocations: 39.86 kB / 1.368 GB, free: 10.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.3528, allocations: 123.7 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.3532, allocations: 402.8 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3533, allocations: 0 / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3533, allocations: 0 / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.3533, allocations: 0 / 1.368 GB, free: 10.07 MB / 1.061 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.0008429/0.3541, allocations: 0.5064 MB / 1.369 GB, free: 9.508 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.3541, allocations: 8.031 kB / 1.369 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.894e-05/0.3542, allocations: 28.8 kB / 1.369 GB, free: 9.473 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.3547, allocations: 230.9 kB / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.3547, allocations: 24.36 kB / 1.369 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/0.3548, allocations: 24.38 kB / 1.369 GB, free: 9.172 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.3551, allocations: 182.6 kB / 1.369 GB, free: 8.988 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3551, allocations: 192 / 1.369 GB, free: 8.988 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.3551, allocations: 15.88 kB / 1.369 GB, free: 8.973 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3551, allocations: 4 kB / 1.369 GB, free: 8.969 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.3554, allocations: 151.9 kB / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.3564, allocations: 0.5389 MB / 1.37 GB, free: 8.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.3566, allocations: 118.5 kB / 1.37 GB, free: 8.125 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3567, allocations: 72.8 kB / 1.37 GB, free: 8.051 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.3568, allocations: 0 / 1.37 GB, free: 8.051 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.357, allocations: 187.2 kB / 1.37 GB, free: 7.855 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.357, allocations: 0 / 1.37 GB, free: 7.855 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0005442/0.3576, allocations: 300 kB / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.3576, allocations: 59.41 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.3578, allocations: 186.5 kB / 1.371 GB, free: 7.297 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/0.3579, allocations: 41.64 kB / 1.371 GB, free: 7.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.358, allocations: 132.4 kB / 1.371 GB, free: 7.117 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.3581, allocations: 39.69 kB / 1.371 GB, free: 7.078 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.3582, allocations: 93.66 kB / 1.371 GB, free: 6.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3584, allocations: 322.8 kB / 1.371 GB, free: 6.656 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.3588, allocations: 324.9 kB / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.3593, allocations: 380.8 kB / 1.372 GB, free: 5.906 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.3598, allocations: 400.9 kB / 1.372 GB, free: 5.473 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3598, allocations: 4 kB / 1.372 GB, free: 5.469 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001072/0.3609, allocations: 0.7316 MB / 1.373 GB, free: 4.695 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.782e-05/0.361, allocations: 97.08 kB / 1.373 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.361, allocations: 4 kB / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.361, allocations: 0 / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3611, allocations: 16 kB / 1.373 GB, free: 4.562 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.3611, allocations: 11.97 kB / 1.373 GB, free: 4.551 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/0.3617, allocations: 104 kB / 1.373 GB, free: 4.449 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.3617, allocations: 19.98 kB / 1.373 GB, free: 4.43 MB / 1.061 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.0001936/0.3619, allocations: 167.9 kB / 1.373 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.362, allocations: 19.84 kB / 1.373 GB, free: 4.238 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004023/0.3624, allocations: 243.2 kB / 1.374 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3624, allocations: 0 / 1.374 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.3624, allocations: 0 / 1.374 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3624, allocations: 0 / 1.374 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.3626, allocations: 197.2 kB / 1.374 GB, free: 3.766 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3626, allocations: 0 / 1.374 GB, free: 3.766 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.194e-05/0.3627, allocations: 11.98 kB / 1.374 GB, free: 3.754 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3627, allocations: 3.938 kB / 1.374 GB, free: 3.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.3627, allocations: 8 kB / 1.374 GB, free: 3.742 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3627, allocations: 3.938 kB / 1.374 GB, free: 3.738 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3627, allocations: 0 / 1.374 GB, free: 3.738 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.363, allocations: 256.8 kB / 1.374 GB, free: 3.469 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.3631, allocations: 11.91 kB / 1.374 GB, free: 3.457 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.3631, allocations: 7.938 kB / 1.374 GB, free: 3.449 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.153e-05/0.3631, allocations: 11.98 kB / 1.374 GB, free: 3.438 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.3632, allocations: 11.98 kB / 1.374 GB, free: 3.426 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.3632, allocations: 11.98 kB / 1.374 GB, free: 3.414 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001149/0.3633, allocations: 136.2 kB / 1.374 GB, free: 3.281 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3633, allocations: 0 / 1.374 GB, free: 3.281 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002981/0.3636, allocations: 67.89 kB / 1.374 GB, free: 3.215 MB / 1.061 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.0001626/0.3638, allocations: 113.3 kB / 1.374 GB, free: 3.098 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008306/0.3646, allocations: 0.616 MB / 1.375 GB, free: 2.426 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3646, allocations: 0 / 1.375 GB, free: 2.426 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.3648, allocations: 111.8 kB / 1.375 GB, free: 2.316 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.3651, allocations: 32.34 kB / 1.375 GB, free: 2.285 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007484/0.3658, allocations: 417.4 kB / 1.376 GB, free: 1.848 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.366, allocations: 135.9 kB / 1.376 GB, free: 1.695 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.366, allocations: 15.44 kB / 1.376 GB, free: 1.68 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.366, allocations: 0 / 1.376 GB, free: 1.68 MB / 1.061 GB Notification: Performance of Templates: time 0.005921/0.3719, allocations: 3.32 MB / 1.379 GB, free: 14.38 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.566305986605585]