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.001402/0.001402, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001723/0.001723, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.474/1.474, allocations: 177.1 MB / 203.9 MB, free: 5.574 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 2.918/2.918, allocations: 377.8 MB / 0.6232 GB, free: 8.52 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 1.743e-06/1.743e-06, allocations: 0 / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.374e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002078/0.002112, allocations: 0.8253 MB / 0.8116 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001889/0.004001, allocations: 1.188 MB / 0.8128 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.004075, allocations: 4 kB / 0.8128 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.004207, allocations: 15.86 kB / 0.8128 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.004334, allocations: 19.84 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.004842, allocations: 144.4 kB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004962/0.005339, allocations: 352 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.005527, allocations: 60.3 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.005796, allocations: 207.7 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.006068, allocations: 147.8 kB / 0.8137 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.734e-05/0.006136, allocations: 33.31 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.006264, allocations: 44 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.095e-05/0.006345, allocations: 47.83 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.006518, allocations: 107.8 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006247/0.007143, allocations: 451.5 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.007146, allocations: 0 / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.889e-06/0.007151, allocations: 4.891 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.007157, 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.0009864/0.008143, allocations: 0.507 MB / 0.8148 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.008187, allocations: 12.88 kB / 0.8148 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.008327, allocations: 36.8 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.008788, allocations: 231.1 kB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.008835, allocations: 12.38 kB / 0.8151 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.008901, allocations: 28.36 kB / 0.8151 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.009263, allocations: 182.8 kB / 0.8153 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.009275, allocations: 192 / 0.8153 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.009296, allocations: 9 kB / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.009305, allocations: 4.375 kB / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.009578, allocations: 149.1 kB / 0.8154 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.01064, allocations: 0.541 MB / 0.816 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.01089, allocations: 130.4 kB / 0.8161 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.01101, allocations: 68.8 kB / 0.8162 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.01104, allocations: 0 / 0.8162 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.01134, allocations: 171.2 kB / 0.8163 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.01135, allocations: 5.375 kB / 0.8163 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0006124/0.01196, allocations: 307.7 kB / 0.8166 GB, free: 12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.01201, allocations: 59.39 kB / 0.8167 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.01224, allocations: 193.3 kB / 0.8169 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.623e-05/0.01229, allocations: 37.7 kB / 0.8169 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.01243, allocations: 136.4 kB / 0.817 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.01247, allocations: 35.69 kB / 0.8171 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.01265, allocations: 86.31 kB / 0.8172 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.01283, allocations: 335.5 kB / 0.8175 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/0.01341, allocations: 320.9 kB / 0.8178 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005201/0.01393, allocations: 383.6 kB / 0.8181 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/0.01451, allocations: 397.2 kB / 0.8185 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.01451, allocations: 0 / 0.8185 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001263/0.01577, allocations: 0.748 MB / 0.8193 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.01589, allocations: 98.16 kB / 0.8193 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.0159, allocations: 0 / 0.8193 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.291e-05/0.01593, allocations: 7.938 kB / 0.8194 GB, free: 9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.01608, allocations: 21.45 kB / 0.8194 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.01609, allocations: 8 kB / 0.8194 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000566/0.01666, allocations: 109.4 kB / 0.8195 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.01672, allocations: 20.77 kB / 0.8195 GB, free: 8.848 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.0002369/0.01695, allocations: 162.7 kB / 0.8197 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.01701, allocations: 23.94 kB / 0.8197 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.01745, allocations: 235.8 kB / 0.8199 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.01746, allocations: 8.844 kB / 0.8199 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.01746, allocations: 0 / 0.8199 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01747, allocations: 4.828 kB / 0.8199 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.01772, allocations: 189.2 kB / 0.8201 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01772, allocations: 1.344 kB / 0.8201 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.01779, allocations: 19.92 kB / 0.8201 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01779, allocations: 0 / 0.8201 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.01781, allocations: 0 / 0.8201 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.01781, allocations: 4.594 kB / 0.8201 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.01782, allocations: 3.938 kB / 0.8201 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.01826, allocations: 257.4 kB / 0.8204 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.01829, allocations: 13.75 kB / 0.8204 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.01832, allocations: 0 / 0.8204 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.343e-05/0.01837, allocations: 11.98 kB / 0.8204 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.01845, allocations: 19.86 kB / 0.8204 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.01847, allocations: 7.984 kB / 0.8204 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001548/0.01863, allocations: 140.4 kB / 0.8206 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01863, allocations: 0 / 0.8206 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003496/0.01898, allocations: 67.89 kB / 0.8206 GB, free: 7.648 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.0002203/0.0192, allocations: 119.7 kB / 0.8207 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000952/0.02015, allocations: 0.6122 MB / 0.8213 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.02015, allocations: 4 kB / 0.8213 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.02031, allocations: 91.81 kB / 0.8214 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.02063, allocations: 42.08 kB / 0.8215 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000765/0.0214, allocations: 394.1 kB / 0.8218 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.02156, allocations: 138.1 kB / 0.822 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.806e-05/0.02163, allocations: 26.58 kB / 0.822 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.02168, allocations: 20.48 kB / 0.822 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of SimCode: time 3.81e-07/0.02168, allocations: 0.6562 kB / 0.822 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of Templates: time 0.00874/0.03042, allocations: 4.038 MB / 0.826 GB, free: 2.199 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 400] 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.204066368984058]