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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",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.001133/0.001133, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 197 kB / 16.79 MB, free: 6.809 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.336/1.336, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.709/2.709, allocations: 461.8 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 62.22 kB / 0.899 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2724, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.00227/0.2747, allocations: 0.892 MB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.2764, allocations: 1.186 MB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.708e-05/0.2765, allocations: 0 / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.2766, allocations: 7.922 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.2768, allocations: 11.92 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.2773, allocations: 139 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.2776, allocations: 307.4 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.2778, allocations: 98.5 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.278, allocations: 119.7 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.2782, allocations: 111.6 kB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.307e-05/0.2783, allocations: 24 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.2784, allocations: 39.92 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.566e-05/0.2784, allocations: 35.84 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.2786, allocations: 111.5 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.2789, allocations: 291.7 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.279, allocations: 4 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.194e-06/0.279, allocations: 0 / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.279, allocations: 3.938 kB / 1.056 GB, free: 4.883 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.000827/0.2798, allocations: 0.578 MB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2798, allocations: 12.03 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.471e-05/0.2799, allocations: 24.75 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.2803, allocations: 280.6 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.2804, allocations: 24.36 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.2804, allocations: 24.38 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.2807, allocations: 174.1 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2807, allocations: 192 / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.2808, allocations: 11.94 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.2808, allocations: 4 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.281, allocations: 143.9 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009471/0.282, allocations: 0.6639 MB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.2822, allocations: 134.5 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.762e-05/0.2823, allocations: 72.81 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.2823, allocations: 3.938 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.2826, allocations: 183.3 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.795e-06/0.2826, allocations: 4 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0004885/0.2831, allocations: 291.3 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.2831, allocations: 55.41 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.2833, allocations: 199.7 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.2833, allocations: 45.58 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2834, allocations: 132.3 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.2835, allocations: 43.44 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.2837, allocations: 81.67 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2838, allocations: 330.8 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.2841, allocations: 223.8 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.2845, allocations: 274.7 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/0.285, allocations: 393.4 kB / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.285, allocations: 0 / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009541/0.2859, allocations: 0.6323 MB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/0.286, allocations: 101 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.286, allocations: 0 / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2861, allocations: 7.984 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.2862, allocations: 12 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.2862, allocations: 4 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/0.2867, allocations: 107.8 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/0.2868, allocations: 23.97 kB / 1.061 GB, free: 15.31 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.0001761/0.287, allocations: 167.7 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.287, allocations: 19.75 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/0.2874, allocations: 231.3 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2874, allocations: 0 / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2874, allocations: 8 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2874, allocations: 0 / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.2877, allocations: 277.4 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2877, allocations: 0 / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.678e-05/0.2878, allocations: 15.98 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2878, allocations: 0 / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.2878, allocations: 4 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2878, allocations: 0 / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2878, allocations: 0 / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.2881, allocations: 254.8 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.2882, allocations: 92.86 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.2882, allocations: 8 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.57e-05/0.2883, allocations: 3.984 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.2883, allocations: 15.98 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.2883, allocations: 4 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001045/0.2885, allocations: 143.1 kB / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2885, allocations: 0 / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002956/0.2888, allocations: 67.89 kB / 1.062 GB, free: 13.93 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.0001475/0.2889, allocations: 107.2 kB / 1.062 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007174/0.2896, allocations: 0.5603 MB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2896, allocations: 0 / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.2898, allocations: 103.9 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.2901, allocations: 43.77 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.2908, allocations: 463.6 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.2911, allocations: 0.7438 MB / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.2912, allocations: 19.44 kB / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of SimCode: time 6.11e-07/0.2912, allocations: 4 kB / 1.064 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of Templates: time 0.005534/0.2967, allocations: 3.249 MB / 1.068 GB, free: 8.562 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 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1)