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.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.002352/0.002352, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002455/0.002455, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.59/1.59, allocations: 230.6 MB / 256 MB, free: 7.797 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.958/2.958, allocations: 475.9 MB / 0.7699 GB, free: 4.75 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.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_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: 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.002149/0.002149, allocations: 68.69 kB / 1.117 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4177, allocations: 170 MB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002343/0.4201, allocations: 0.8161 MB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.4218, allocations: 1.172 MB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.252e-05/0.4219, allocations: 3.938 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.4221, allocations: 15.86 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.4222, allocations: 11.92 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.4227, allocations: 150.8 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004934/0.4232, allocations: 355.3 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.4234, allocations: 62.75 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.4236, allocations: 147.8 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.4239, allocations: 159.6 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.464e-05/0.424, allocations: 32 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.4241, allocations: 47.92 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.019e-05/0.4242, allocations: 51.84 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.4244, allocations: 119.6 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005299/0.4249, allocations: 402.8 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4249, allocations: 0 / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4249, allocations: 0 / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.425, allocations: 0 / 1.286 GB, free: 8.375 MB / 0.9825 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.001012/0.426, allocations: 0.5064 MB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.426, allocations: 12.03 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.4261, allocations: 28.78 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/0.4266, allocations: 223.7 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.207e-05/0.4267, allocations: 16.38 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/0.4267, allocations: 24.36 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.4271, allocations: 191.2 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.4271, allocations: 192 / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.4272, allocations: 7.938 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4272, allocations: 4 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.4274, allocations: 143.9 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.4286, allocations: 0.5544 MB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.4289, allocations: 114.5 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.429, allocations: 76.8 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.429, allocations: 4 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002915/0.4293, allocations: 182.1 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.4293, allocations: 0 / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0005994/0.4299, allocations: 297.4 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.43, allocations: 55.41 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.4302, allocations: 194.7 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.4302, allocations: 33.7 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.4304, allocations: 132.4 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.4304, allocations: 51.56 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.4306, allocations: 89.66 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4308, allocations: 330.8 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.4312, allocations: 324.8 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.4317, allocations: 379.7 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.4322, allocations: 393.4 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4322, allocations: 3.938 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00111/0.4333, allocations: 0.7257 MB / 1.291 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.4334, allocations: 97.09 kB / 1.291 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.4334, allocations: 4 kB / 1.291 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-05/0.4335, allocations: 4 kB / 1.291 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.4336, allocations: 19.92 kB / 1.291 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.088e-06/0.4336, allocations: 224 / 1.291 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/0.4341, allocations: 111.8 kB / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.4342, allocations: 23.98 kB / 1.292 GB, free: 2.738 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.0002027/0.4344, allocations: 165.8 kB / 1.292 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.4344, allocations: 27.83 kB / 1.292 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/0.4348, allocations: 223.4 kB / 1.292 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.4348, allocations: 7.984 kB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4348, allocations: 7.922 kB / 1.292 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4349, allocations: 0 / 1.292 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.4351, allocations: 189.2 kB / 1.292 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4351, allocations: 0 / 1.292 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.764e-05/0.4351, allocations: 19.92 kB / 1.292 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.4352, allocations: 7.938 kB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4352, allocations: 0 / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4352, allocations: 0 / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4352, allocations: 4 kB / 1.292 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.4355, allocations: 246.8 kB / 1.292 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.4355, allocations: 15.89 kB / 1.292 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.4356, allocations: 11.94 kB / 1.292 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.4356, allocations: 0 / 1.292 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.4357, allocations: 23.91 kB / 1.293 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.4357, allocations: 8 kB / 1.293 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001311/0.4358, allocations: 132.2 kB / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4358, allocations: 0 / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003112/0.4361, allocations: 75.88 kB / 1.293 GB, free: 1.531 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.0001949/0.4363, allocations: 105.5 kB / 1.293 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008827/0.4372, allocations: 0.62 MB / 1.293 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.4372, allocations: 0 / 1.293 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.4374, allocations: 91.81 kB / 1.294 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.4377, allocations: 44.27 kB / 1.294 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000776/0.4385, allocations: 403.3 kB / 1.294 GB, free: 200 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.4386, allocations: 127.9 kB / 1.294 GB, free: 52 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.349e-05/0.4387, allocations: 29.41 kB / 1.294 GB, free: 24 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.4388, allocations: 23.44 kB / 1.294 GB, free: 0 / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.4388, allocations: 0 / 1.294 GB, free: 0 / 0.9825 GB Notification: Performance of Templates: time 0.008325/0.4471, allocations: 4.151 MB / 1.298 GB, free: 11.93 MB / 0.9981 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.61039918102324]