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.001591/0.001591, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001601/0.001601, allocations: 198.1 kB / 22.17 MB, free: 5.211 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.496/1.496, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.926/2.926, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002736/0.002736, allocations: 71.81 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002648/1.04, allocations: 0.8357 MB / 1.275 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001841/1.042, allocations: 1.179 MB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.006e-05/1.042, allocations: 4 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/1.042, allocations: 19.86 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/1.042, allocations: 11.86 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/1.043, allocations: 139.1 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000495/1.043, allocations: 347.4 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/1.043, allocations: 70.5 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/1.043, allocations: 151.7 kB / 1.277 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/1.044, allocations: 143.5 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.084e-05/1.044, allocations: 36 kB / 1.277 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/1.044, allocations: 47.92 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.153e-05/1.044, allocations: 51.83 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/1.044, allocations: 135.5 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004897/1.045, allocations: 393.5 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.045, allocations: 0 / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/1.045, allocations: 0 / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.03e-05/1.045, allocations: 0 / 1.277 GB, free: 0.9805 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.001022/1.046, allocations: 0.5972 MB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/1.046, allocations: 8.031 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/1.046, allocations: 28.8 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/1.046, allocations: 280.8 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/1.046, allocations: 16.38 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/1.046, allocations: 32.3 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/1.047, allocations: 178.1 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.047, allocations: 192 / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/1.047, allocations: 7.938 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/1.047, allocations: 4 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/1.047, allocations: 147.9 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/1.048, allocations: 0.6679 MB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/1.048, allocations: 118.5 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/1.049, allocations: 72.8 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/1.049, allocations: 3.938 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002666/1.049, allocations: 183.3 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/1.049, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0005728/1.049, allocations: 299.3 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/1.049, allocations: 55.41 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/1.05, allocations: 190.3 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/1.05, allocations: 29.7 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/1.05, allocations: 140.5 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/1.05, allocations: 39.69 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/1.05, allocations: 89.66 kB / 1.281 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.05, allocations: 326.8 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/1.051, allocations: 223.7 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/1.051, allocations: 290.6 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/1.052, allocations: 393.7 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/1.052, allocations: 4 kB / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009835/1.053, allocations: 0.6309 MB / 1.282 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.053, allocations: 97.09 kB / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.053, allocations: 3.984 kB / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/1.053, allocations: 7.938 kB / 1.282 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/1.053, allocations: 20.14 kB / 1.282 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/1.053, allocations: 8 kB / 1.282 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/1.053, allocations: 103.8 kB / 1.283 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/1.053, allocations: 23.98 kB / 1.283 GB, free: 11.38 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.0001916/1.054, allocations: 168.4 kB / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/1.054, allocations: 19.84 kB / 1.283 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/1.054, allocations: 227.4 kB / 1.283 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.054, allocations: 0 / 1.283 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.054, allocations: 4 kB / 1.283 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.054, allocations: 3.984 kB / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/1.054, allocations: 277.4 kB / 1.283 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.054, allocations: 0 / 1.283 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/1.054, allocations: 15.98 kB / 1.283 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/1.054, allocations: 4 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/1.054, allocations: 4 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.054, allocations: 0 / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.054, allocations: 0 / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/1.055, allocations: 251.2 kB / 1.284 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/1.055, allocations: 89.02 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/1.055, allocations: 11.94 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.574e-05/1.055, allocations: 3.984 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/1.055, allocations: 19.98 kB / 1.284 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/1.055, allocations: 4 kB / 1.284 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001207/1.055, allocations: 144.2 kB / 1.284 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.055, allocations: 0 / 1.284 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003114/1.055, allocations: 67.89 kB / 1.284 GB, free: 9.996 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.0001834/1.056, allocations: 105.8 kB / 1.284 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007715/1.056, allocations: 0.5252 MB / 1.284 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/1.056, allocations: 0 / 1.284 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/1.057, allocations: 91.86 kB / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/1.057, allocations: 43.84 kB / 1.285 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007278/1.058, allocations: 387.8 kB / 1.285 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/1.058, allocations: 0.7552 MB / 1.286 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.315e-05/1.058, allocations: 25.42 kB / 1.286 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/1.058, allocations: 23.36 kB / 1.286 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/1.058, allocations: 0 / 1.286 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of Templates: time 0.00822/1.066, allocations: 3.771 MB / 1.289 GB, free: 4.211 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.49263231875375]