Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002424/0.002424, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002794/0.002794, allocations: 165.3 kB / 23.55 MB, free: 0.8672 MB / 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 1.544/1.544, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.056/3.056, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] 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.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_12_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_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.394e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002395/0.002429, allocations: 0.8355 MB / 0.8116 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.004477, allocations: 1.19 MB / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.097e-05/0.004558, allocations: 9.094 kB / 0.8128 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.004682, allocations: 15.8 kB / 0.8128 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.004794, allocations: 17.19 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.005343, allocations: 143.6 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004846/0.005828, allocations: 345.2 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.006026, allocations: 73.41 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.006302, allocations: 199.7 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.006593, allocations: 155.6 kB / 0.8137 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.954e-05/0.006683, allocations: 33.56 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.006817, allocations: 47.98 kB / 0.8138 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.195e-05/0.006909, allocations: 47.89 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.007107, allocations: 107.8 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006358/0.007742, allocations: 452.2 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.007747, allocations: 0 / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.285e-06/0.007749, allocations: 4 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.007756, allocations: 0 / 0.8143 GB, free: 14.5 MB / 0.7761 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.001036/0.008792, allocations: 0.6118 MB / 0.8149 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.008841, allocations: 12.03 kB / 0.8149 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.008982, allocations: 40.78 kB / 0.815 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.009466, allocations: 205 kB / 0.8152 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.009517, allocations: 22.47 kB / 0.8152 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.351e-05/0.00958, allocations: 28.38 kB / 0.8152 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.009903, allocations: 142.1 kB / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.009914, allocations: 192 / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.009939, allocations: 12.36 kB / 0.8154 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.009945, allocations: 384 / 0.8154 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.01016, allocations: 100.4 kB / 0.8155 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.01137, allocations: 0.6117 MB / 0.8161 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.01162, allocations: 120.6 kB / 0.8162 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.01173, allocations: 63.64 kB / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.01176, allocations: 0 / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003042/0.01206, allocations: 173 kB / 0.8164 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.01206, allocations: 0.5312 kB / 0.8164 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0006052/0.01267, allocations: 284.3 kB / 0.8167 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.01273, allocations: 55.41 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.01303, allocations: 275.6 kB / 0.817 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.01309, allocations: 37.69 kB / 0.817 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.01327, allocations: 192.3 kB / 0.8172 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.154e-05/0.01333, allocations: 47.67 kB / 0.8173 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.01353, allocations: 95.33 kB / 0.8174 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003183/0.01385, allocations: 0.5093 MB / 0.8178 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.01434, allocations: 324.8 kB / 0.8182 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/0.01496, allocations: 406.4 kB / 0.8185 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005674/0.01553, allocations: 403.1 kB / 0.8189 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.01553, allocations: 0 / 0.8189 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001283/0.01681, allocations: 0.7325 MB / 0.8196 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.867e-05/0.01691, allocations: 93.09 kB / 0.8197 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.01692, allocations: 4 kB / 0.8197 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.01694, allocations: 4.938 kB / 0.8197 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.01709, allocations: 19.98 kB / 0.8198 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.0171, allocations: 6.062 kB / 0.8198 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/0.01755, allocations: 91.67 kB / 0.8199 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.0176, allocations: 19.98 kB / 0.8199 GB, free: 8.438 MB / 0.7761 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.0002443/0.01784, allocations: 198.8 kB / 0.8201 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.01789, allocations: 23.91 kB / 0.8201 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000419/0.01831, allocations: 215.2 kB / 0.8203 GB, free: 8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.01832, allocations: 8.438 kB / 0.8203 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.01832, allocations: 0.5312 kB / 0.8203 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.01833, allocations: 4 kB / 0.8203 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.01865, allocations: 221.9 kB / 0.8205 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01865, allocations: 0 / 0.8205 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.188e-05/0.01871, allocations: 11.94 kB / 0.8205 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.01872, allocations: 8.484 kB / 0.8205 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.01874, allocations: 4 kB / 0.8205 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.01874, allocations: 0.5938 kB / 0.8205 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.01875, allocations: 4.594 kB / 0.8205 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.01914, allocations: 254.6 kB / 0.8208 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.01917, allocations: 12.56 kB / 0.8208 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.01919, allocations: 4 kB / 0.8208 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.797e-05/0.01924, allocations: 11.33 kB / 0.8208 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.01931, allocations: 23.91 kB / 0.8208 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.01933, allocations: 4 kB / 0.8208 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002319/0.01956, allocations: 179.4 kB / 0.821 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01956, allocations: 0 / 0.821 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003198/0.01988, allocations: 71.89 kB / 0.8211 GB, free: 7.145 MB / 0.7761 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.0002053/0.02008, allocations: 110 kB / 0.8212 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009412/0.02103, allocations: 0.6587 MB / 0.8218 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02103, allocations: 0 / 0.8218 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.02118, allocations: 95.5 kB / 0.8219 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.02149, allocations: 40.16 kB / 0.822 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/0.02228, allocations: 383.1 kB / 0.8223 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.02244, allocations: 133.1 kB / 0.8224 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.124e-05/0.02252, allocations: 24.47 kB / 0.8225 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.02257, allocations: 16.5 kB / 0.8225 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.02257, allocations: 0 / 0.8225 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.009217/0.03179, allocations: 4.031 MB / 0.8264 GB, free: 1.656 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.443433147971518]