Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001085/0.001085, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007883/0.007883, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.452/1.452, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.824/2.824, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 8.906 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3531, allocations: 159.6 MB / 1.059 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001078/0.3542, allocations: 0.5416 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3557, allocations: 1.182 MB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.3557, allocations: 0 / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.651e-05/0.3558, allocations: 11.92 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.451e-05/0.3559, allocations: 7.922 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.3564, allocations: 135 kB / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.3567, allocations: 299.4 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.3569, allocations: 106.5 kB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.357, allocations: 103.7 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.3571, allocations: 95.62 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.3572, allocations: 12 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.191e-05/0.3573, allocations: 35.92 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.3573, allocations: 39.84 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.3575, allocations: 129.2 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.3578, allocations: 363.2 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3578, allocations: 0 / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3578, allocations: 0 / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.3578, allocations: 0 / 1.062 GB, free: 2.391 MB / 0.8106 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.0006029/0.3585, allocations: 0.5234 MB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.3585, allocations: 8.031 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.998e-05/0.3586, allocations: 24.75 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.3589, allocations: 277.3 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.3589, allocations: 24.3 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.359, allocations: 28.36 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.3593, allocations: 178.6 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3593, allocations: 4.188 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.3593, allocations: 11.94 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3594, allocations: 0 / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.3596, allocations: 155.9 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000898/0.3605, allocations: 0.66 MB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.3607, allocations: 134.5 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.3608, allocations: 68.81 kB / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.3608, allocations: 7.938 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.3611, allocations: 183.2 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.3611, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0004936/0.3616, allocations: 287.7 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.3617, allocations: 59.41 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.3618, allocations: 194.1 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/0.3619, allocations: 41.69 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/0.362, allocations: 128.4 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.3621, allocations: 47.44 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/0.3621, allocations: 37.7 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3622, allocations: 330.8 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/0.3626, allocations: 223.8 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.363, allocations: 280.2 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.3634, allocations: 389.4 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3634, allocations: 0 / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008809/0.3643, allocations: 0.6285 MB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.3644, allocations: 97.09 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3644, allocations: 8.219 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3644, allocations: 4 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.3646, allocations: 15.98 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3646, allocations: 0 / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006116/0.3652, allocations: 139.7 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.3652, allocations: 23.98 kB / 1.067 GB, free: 12.89 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.0001637/0.3654, allocations: 170.8 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.3654, allocations: 15.75 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.3658, allocations: 239.3 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3658, allocations: 0 / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3658, allocations: 0 / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3658, allocations: 0 / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.3661, allocations: 277.4 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3661, allocations: 7.938 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.3662, allocations: 15.98 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3662, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3662, allocations: 4 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3662, allocations: 0 / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3662, allocations: 0 / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.3665, allocations: 251 kB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.3666, allocations: 96.84 kB / 1.068 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.3666, allocations: 7.984 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.75e-05/0.3667, allocations: 8 kB / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.3667, allocations: 19.97 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.3667, allocations: 8 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.394e-05/0.3668, allocations: 136.2 kB / 1.068 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3668, allocations: 0 / 1.068 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002987/0.3671, allocations: 67.91 kB / 1.068 GB, free: 11.5 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.0001358/0.3673, allocations: 107.2 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006958/0.368, allocations: 0.5642 MB / 1.069 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.368, allocations: 0 / 1.069 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.3681, allocations: 99.88 kB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.3684, allocations: 35.16 kB / 1.069 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.3691, allocations: 440.7 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.3693, allocations: 0.7477 MB / 1.07 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.224e-05/0.3694, allocations: 25.42 kB / 1.07 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.3694, allocations: 19.42 kB / 1.07 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3695, allocations: 4 kB / 1.07 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of Templates: time 0.006374/0.3758, allocations: 3.565 MB / 1.073 GB, free: 5.844 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile (rm -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches