Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 192.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.886/2.886, allocations: 476.7 MB / 0.7646 GB, free: 9.871 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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_11_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_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 67.89 kB / 1.11 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 168.8 MB / 1.274 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002428/1.008, allocations: 0.8267 MB / 1.275 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001918/1.01, allocations: 1.183 MB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/1.01, allocations: 0 / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/1.01, allocations: 19.86 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001254/1.01, allocations: 15.86 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/1.011, allocations: 146.4 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004701/1.011, allocations: 347.4 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/1.011, allocations: 62.78 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/1.012, allocations: 155.7 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/1.012, allocations: 143.6 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.805e-05/1.012, allocations: 32 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/1.012, allocations: 55.98 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.06e-05/1.012, allocations: 43.84 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002161/1.012, allocations: 135.5 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005715/1.013, allocations: 401.1 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.013, allocations: 0 / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/1.013, allocations: 0 / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.417e-06/1.013, allocations: 4 kB / 1.278 GB, free: 0.6875 MB / 0.9669 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.001069/1.014, allocations: 0.5064 MB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/1.014, allocations: 11.98 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/1.014, allocations: 36.8 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/1.015, allocations: 244.1 kB / 1.279 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/1.015, allocations: 16.38 kB / 1.279 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/1.015, allocations: 24.36 kB / 1.279 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/1.015, allocations: 182.1 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/1.015, allocations: 192 / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/1.015, allocations: 11.92 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/1.015, allocations: 4 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002678/1.015, allocations: 147.8 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/1.017, allocations: 0.6359 MB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/1.017, allocations: 118.5 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/1.017, allocations: 76.92 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/1.017, allocations: 7.938 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/1.017, allocations: 171.2 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.794e-06/1.017, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0006054/1.018, allocations: 297.3 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/1.018, allocations: 59.39 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/1.018, allocations: 190.2 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/1.018, allocations: 33.7 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/1.018, allocations: 136.4 kB / 1.281 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/1.019, allocations: 43.69 kB / 1.281 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/1.019, allocations: 81.67 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001822/1.019, allocations: 334.8 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/1.019, allocations: 219.8 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/1.02, allocations: 277.1 kB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/1.02, allocations: 399.6 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.02, allocations: 0 / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001017/1.021, allocations: 0.6418 MB / 1.282 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-05/1.021, allocations: 99.12 kB / 1.283 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.021, allocations: 4 kB / 1.283 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/1.021, allocations: 0 / 1.283 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/1.021, allocations: 15.98 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/1.021, allocations: 7.938 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005684/1.022, allocations: 111.9 kB / 1.283 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/1.022, allocations: 19.98 kB / 1.283 GB, free: 11.28 MB / 0.9825 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.000243/1.022, allocations: 163.8 kB / 1.283 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/1.022, allocations: 23.84 kB / 1.283 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/1.023, allocations: 233.8 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/1.023, allocations: 4 kB / 1.283 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.023, allocations: 0 / 1.283 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.023, allocations: 0 / 1.283 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/1.023, allocations: 252.4 kB / 1.283 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.023, allocations: 0 / 1.283 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.749e-05/1.023, allocations: 12 kB / 1.283 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/1.023, allocations: 8 kB / 1.283 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/1.023, allocations: 3.984 kB / 1.283 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/1.023, allocations: 4 kB / 1.283 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.023, allocations: 7.938 kB / 1.283 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/1.024, allocations: 244.8 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/1.024, allocations: 11.91 kB / 1.284 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/1.024, allocations: 7.984 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.635e-05/1.024, allocations: 4 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/1.024, allocations: 15.97 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/1.024, allocations: 12 kB / 1.284 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001117/1.024, allocations: 136.2 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.024, allocations: 0 / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000306/1.024, allocations: 71.88 kB / 1.284 GB, free: 10.02 MB / 0.9825 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.0001761/1.024, allocations: 111.2 kB / 1.284 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007853/1.025, allocations: 0.5177 MB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.025, allocations: 4.062 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/1.025, allocations: 89.28 kB / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/1.026, allocations: 39.89 kB / 1.285 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/1.026, allocations: 383.7 kB / 1.285 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/1.027, allocations: 0.7474 MB / 1.286 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.223e-05/1.027, allocations: 29.41 kB / 1.286 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/1.027, allocations: 15.44 kB / 1.286 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/1.027, allocations: 0 / 1.286 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of Templates: time 0.008134/1.035, allocations: 3.83 MB / 1.29 GB, free: 4.199 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.527243451215327]