Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_3.0.0_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001473/0.001473, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00137/0.00137, allocations: 192.2 kB / 16.13 MB, free: 6.711 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.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.39 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3884, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002411/0.3908, allocations: 0.8903 MB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.3925, allocations: 1.166 MB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/0.3926, allocations: 11.94 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.3927, allocations: 11.92 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.3928, allocations: 11.91 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.3933, allocations: 135.2 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000346/0.3937, allocations: 299.5 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.3939, allocations: 118.3 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3941, allocations: 115.7 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.3943, allocations: 111.6 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.656e-05/0.3943, allocations: 20 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.3944, allocations: 31.98 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.3e-05/0.3945, allocations: 39.84 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.3947, allocations: 111.5 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.3951, allocations: 379.3 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3951, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3951, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.3952, allocations: 0 / 1.071 GB, free: 7.484 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.0009717/0.3961, allocations: 0.5741 MB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3962, allocations: 12.03 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.561e-05/0.3963, allocations: 28.73 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.3967, allocations: 276.6 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/0.3967, allocations: 20.38 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.967e-05/0.3968, allocations: 32.36 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.3971, allocations: 174.6 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.3971, allocations: 4.125 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.3972, allocations: 7.938 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3972, allocations: 4 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002611/0.3974, allocations: 143.9 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.3985, allocations: 0.664 MB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.3987, allocations: 130.4 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.3988, allocations: 72.8 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.3989, allocations: 11.94 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.3991, allocations: 179.1 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3991, allocations: 0 / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0005579/0.3997, allocations: 295.7 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.3998, allocations: 59.34 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.3999, allocations: 199.4 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.4, allocations: 41.7 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.4001, allocations: 132.4 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.4002, allocations: 35.5 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.4004, allocations: 85.66 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4005, allocations: 326.8 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.4009, allocations: 219.8 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.4013, allocations: 278.7 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005484/0.4018, allocations: 397.4 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4019, allocations: 0 / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001073/0.4029, allocations: 0.6243 MB / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.4031, allocations: 98.5 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4031, allocations: 4 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.4031, allocations: 4 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.4032, allocations: 24.14 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.4033, allocations: 0 / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005727/0.4038, allocations: 107.7 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.4039, allocations: 19.98 kB / 1.076 GB, free: 1.918 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.0001907/0.4041, allocations: 176.1 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.4041, allocations: 15.75 kB / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.4045, allocations: 231.4 kB / 1.076 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.4045, allocations: 3.984 kB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4045, allocations: 0 / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4046, allocations: 0 / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.4048, allocations: 281.3 kB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4048, allocations: 0 / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.858e-05/0.4049, allocations: 23.94 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4049, allocations: 0 / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.405, allocations: 3.984 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.405, allocations: 4 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.405, allocations: 0 / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.4053, allocations: 242.2 kB / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.026e-05/0.4054, allocations: 92.94 kB / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.4055, allocations: 4 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.79e-05/0.4055, allocations: 8 kB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.4056, allocations: 23.91 kB / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.4056, allocations: 4 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001247/0.4058, allocations: 135.2 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.713e-06/0.4058, allocations: 0 / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003069/0.4061, allocations: 67.84 kB / 1.077 GB, free: 0.5273 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.0001877/0.4063, allocations: 115.2 kB / 1.077 GB, free: 416 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007998/0.4071, allocations: 0.5564 MB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4071, allocations: 0 / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.4072, allocations: 99.88 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.4076, allocations: 36.47 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007476/0.4083, allocations: 440.4 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.4088, allocations: 0.7438 MB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.693e-05/0.4088, allocations: 29.41 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.4089, allocations: 15.44 kB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.4089, allocations: 0 / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.007019/0.4159, allocations: 3.6 MB / 1.083 GB, free: 10.85 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile (rm -f Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1)