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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009733/0.009733, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.138/3.138, allocations: 470.6 MB / 0.7442 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004273, allocations: 7.219 kB / 0.9123 GB, free: 34.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.427, allocations: 161.4 MB / 1.07 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001369/0.4284, allocations: 0.5511 MB / 1.07 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.4303, allocations: 1.17 MB / 1.072 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.4305, allocations: 3.938 kB / 1.072 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.4306, allocations: 11.92 kB / 1.072 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.4307, allocations: 11.94 kB / 1.072 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.4312, allocations: 130.5 kB / 1.072 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.4316, allocations: 303.4 kB / 1.072 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.4319, allocations: 108.2 kB / 1.072 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.4321, allocations: 107.7 kB / 1.072 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.4323, allocations: 95.64 kB / 1.072 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.4323, allocations: 12 kB / 1.072 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.902e-05/0.4324, allocations: 31.97 kB / 1.072 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.4325, allocations: 31.84 kB / 1.072 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.4327, allocations: 133.2 kB / 1.072 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.4331, allocations: 363.2 kB / 1.073 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.4331, allocations: 4 kB / 1.073 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.955e-06/0.4332, allocations: 4 kB / 1.073 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.4332, allocations: 0 / 1.073 GB, free: 8.34 MB / 0.8262 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.0008883/0.4341, allocations: 0.5049 MB / 1.073 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.4341, allocations: 12.03 kB / 1.073 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.42e-05/0.4342, allocations: 28.73 kB / 1.073 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.4346, allocations: 273.3 kB / 1.074 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.3e-05/0.4347, allocations: 20.38 kB / 1.074 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/0.4348, allocations: 32.34 kB / 1.074 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.4351, allocations: 178.1 kB / 1.074 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4351, allocations: 192 / 1.074 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.4352, allocations: 3.938 kB / 1.074 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4352, allocations: 4 kB / 1.074 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.4355, allocations: 159.8 kB / 1.074 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.4365, allocations: 0.6601 MB / 1.075 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.4368, allocations: 130.4 kB / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.4369, allocations: 72.8 kB / 1.075 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.437, allocations: 7.938 kB / 1.075 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002806/0.4372, allocations: 181.1 kB / 1.075 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.4373, allocations: 0 / 1.075 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.000589/0.4379, allocations: 293.5 kB / 1.075 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.4379, allocations: 59.39 kB / 1.075 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.4382, allocations: 194.9 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.958e-05/0.4382, allocations: 37.7 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.4384, allocations: 128.5 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.4384, allocations: 39.45 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.021e-05/0.4385, allocations: 41.69 kB / 1.076 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4387, allocations: 326.8 kB / 1.076 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.439, allocations: 219.8 kB / 1.076 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.4395, allocations: 275.5 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005336/0.44, allocations: 397.4 kB / 1.077 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.44, allocations: 11.94 kB / 1.077 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001031/0.4411, allocations: 0.6245 MB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.163e-05/0.4412, allocations: 97.09 kB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.4412, allocations: 4 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4412, allocations: 0 / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.4413, allocations: 23.92 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4414, allocations: 4 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006621/0.442, allocations: 146 kB / 1.078 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.4421, allocations: 15.98 kB / 1.078 GB, free: 2.855 MB / 0.8262 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.0002214/0.4423, allocations: 176.4 kB / 1.078 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.4423, allocations: 15.75 kB / 1.078 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004079/0.4427, allocations: 235.4 kB / 1.078 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4428, allocations: 0 / 1.078 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4428, allocations: 0 / 1.078 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.4428, allocations: 0 / 1.078 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.4431, allocations: 277.3 kB / 1.079 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4431, allocations: 0 / 1.079 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.041e-05/0.4432, allocations: 19.98 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.4432, allocations: 3.938 kB / 1.079 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4432, allocations: 0 / 1.079 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.4432, allocations: 7.984 kB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4432, allocations: 4 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.4436, allocations: 242.8 kB / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.4437, allocations: 96.84 kB / 1.079 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.4437, allocations: 7.984 kB / 1.079 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.693e-05/0.4438, allocations: 4 kB / 1.079 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.4438, allocations: 15.98 kB / 1.079 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.4439, allocations: 7.984 kB / 1.079 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001221/0.444, allocations: 139.5 kB / 1.079 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.444, allocations: 0 / 1.079 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000332/0.4443, allocations: 63.91 kB / 1.079 GB, free: 1.469 MB / 0.8262 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.0001749/0.4445, allocations: 115.2 kB / 1.079 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008306/0.4454, allocations: 0.5533 MB / 1.08 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4454, allocations: 448 / 1.08 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.4455, allocations: 103.9 kB / 1.08 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.4459, allocations: 39.84 kB / 1.08 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007636/0.4466, allocations: 438.6 kB / 1.08 GB, free: 164 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.4471, allocations: 0.7515 MB / 1.081 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.1e-05/0.4472, allocations: 29.41 kB / 1.081 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.4472, allocations: 15.44 kB / 1.081 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.4472, allocations: 0 / 1.081 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of Templates: time 0.007998/0.4552, allocations: 3.573 MB / 1.085 GB, free: 11.8 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile (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) 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) Reference file matches