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.001787/0.001787, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001698/0.001698, allocations: 208.2 kB / 22.99 MB, free: 4.984 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.585/1.585, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.394/3.394, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002116/0.002116, allocations: 75.95 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.44, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002317/0.4424, allocations: 0.8174 MB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.4442, allocations: 1.198 MB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.4443, allocations: 4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.4444, allocations: 11.86 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.4445, allocations: 15.88 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.445, allocations: 143.2 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.4455, allocations: 347.4 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.4457, allocations: 70.78 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.4459, allocations: 155.7 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.4461, allocations: 139.6 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.825e-05/0.4462, allocations: 32 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.4463, allocations: 44 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.022e-05/0.4464, allocations: 47.84 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.4466, allocations: 119.6 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00049/0.4471, allocations: 394.9 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4471, allocations: 3.938 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4471, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.4471, allocations: 4 kB / 1.33 GB, free: 13.51 MB / 1.029 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.0009097/0.448, allocations: 0.5141 MB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.448, allocations: 8.031 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.243e-05/0.4481, allocations: 24.84 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/0.4486, allocations: 228.5 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.4486, allocations: 20.38 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.058e-05/0.4487, allocations: 24.38 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.449, allocations: 178.1 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.449, allocations: 192 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.449, allocations: 7.938 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.449, allocations: 8 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.4493, allocations: 147.9 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.4503, allocations: 0.5427 MB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.4505, allocations: 122.5 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.4507, allocations: 64.81 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.4507, allocations: 7.984 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.451, allocations: 179.3 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.451, allocations: 3.938 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005624/0.4515, allocations: 298.8 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.4516, allocations: 59.39 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.4518, allocations: 186.8 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.4518, allocations: 37.69 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.452, allocations: 136.4 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.452, allocations: 43.64 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.4522, allocations: 85.67 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4523, allocations: 330.8 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.4528, allocations: 324.8 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/0.4533, allocations: 380.9 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005153/0.4538, allocations: 401 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.4538, allocations: 4 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001081/0.4549, allocations: 0.7428 MB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.75e-05/0.455, allocations: 97.09 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.455, allocations: 0 / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.455, allocations: 7.984 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4552, allocations: 19.92 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.4552, allocations: 4 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.4557, allocations: 108 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.4557, allocations: 19.98 kB / 1.336 GB, free: 7.859 MB / 1.029 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.0002141/0.4559, allocations: 162.3 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.456, allocations: 19.84 kB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000407/0.4564, allocations: 230.2 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4564, allocations: 7.938 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4564, allocations: 4 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.4564, allocations: 3.984 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.4566, allocations: 189.2 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4566, allocations: 3.984 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.4567, allocations: 12 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.4567, allocations: 3.938 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.4567, allocations: 7.984 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4567, allocations: 4 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4567, allocations: 0 / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.4571, allocations: 244.8 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.4571, allocations: 19.91 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.4572, allocations: 11.92 kB / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.505e-05/0.4572, allocations: 4 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.4573, allocations: 15.97 kB / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.4573, allocations: 4 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001225/0.4574, allocations: 135.2 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4574, allocations: 0 / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003179/0.4577, allocations: 71.83 kB / 1.337 GB, free: 6.66 MB / 1.029 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.0001791/0.4579, allocations: 111.2 kB / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008386/0.4587, allocations: 0.62 MB / 1.337 GB, free: 5.867 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4587, allocations: 0 / 1.337 GB, free: 5.867 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.4589, allocations: 91.81 kB / 1.338 GB, free: 5.777 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.4592, allocations: 35.97 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007518/0.46, allocations: 390.8 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.4601, allocations: 135.9 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.767e-05/0.4602, allocations: 29.41 kB / 1.338 GB, free: 5.152 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.4602, allocations: 15.44 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.4602, allocations: 4 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of Templates: time 0.008482/0.4687, allocations: 4.193 MB / 1.342 GB, free: 1.012 MB / 1.029 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 -s cvode -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/jenkins1/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: 9.809954692958854]