Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.809/4.809, allocations: 0.5623 GB / 0.5775 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002536/0.002535, allocations: 358.6 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.245/4.245, allocations: 410.7 MB / 1.113 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001786/0.001786, allocations: 191.1 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005079/0.0005082, allocations: 19.98 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7181/0.7186, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2294/0.948, allocations: 146.7 MB / 1.605 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.9484, allocations: 75.95 kB / 1.605 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05006/0.9984, allocations: 12.38 MB / 1.617 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9985, allocations: 0 / 1.617 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.527e-05/0.9985, allocations: 16 kB / 1.617 GB, free: 125.2 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002457/1.001, allocations: 1.034 MB / 1.618 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.001, allocations: 15.62 kB / 1.618 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002884/1.001, allocations: 92.22 kB / 1.618 GB, free: 124 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/1.002, allocations: 0.4967 MB / 1.618 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.26e-05/1.003, allocations: 49.31 kB / 1.618 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/1.003, allocations: 68 kB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/1.004, allocations: 0.6108 MB / 1.619 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/1.004, allocations: 4.844 kB / 1.619 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.594e-05/1.004, allocations: 31.98 kB / 1.619 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/1.004, allocations: 13.34 kB / 1.619 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/1.006, allocations: 468.8 kB / 1.62 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005672/1.012, allocations: 2.099 MB / 1.622 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003585/1.015, allocations: 0.9841 MB / 1.623 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007207/1.016, allocations: 258.3 kB / 1.623 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.687e-05/1.016, allocations: 4.438 kB / 1.623 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008259/1.017, allocations: 305.4 kB / 1.623 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=57): time 4.128e-06/1.017, allocations: 0 / 1.623 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=57): time 0.00213/1.019, allocations: 0.6924 MB / 1.624 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/1.019, allocations: 115.4 kB / 1.624 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008207/1.02, allocations: 0.5304 MB / 1.624 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/1.02, allocations: 49.69 kB / 1.624 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/1.021, allocations: 328.8 kB / 1.625 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/1.021, allocations: 186.3 kB / 1.625 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/1.021, allocations: 12 kB / 1.625 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.021, allocations: 375.3 kB / 1.625 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007065/1.022, allocations: 212 kB / 1.626 GB, free: 116 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008028/1.022, allocations: 370.3 kB / 1.626 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007368/1.023, allocations: 260.7 kB / 1.626 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.023, allocations: 4.5 kB / 1.626 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001886/1.025, allocations: 0.677 MB / 1.627 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.82e-05/1.025, allocations: 174.9 kB / 1.627 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/1.025, allocations: 4.625 kB / 1.627 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/1.025, allocations: 4 kB / 1.627 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007507/1.026, allocations: 105.8 kB / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/1.026, allocations: 4 kB / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000956/1.027, allocations: 124.3 kB / 1.627 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-05/1.027, allocations: 20 kB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/1.027, allocations: 4.75 kB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001373/1.029, allocations: 0.5401 MB / 1.628 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/1.029, allocations: 4.844 kB / 1.628 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/1.029, allocations: 4 kB / 1.628 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/1.029, allocations: 96.34 kB / 1.628 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/1.029, allocations: 6.031 kB / 1.628 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000888/1.03, allocations: 98.31 kB / 1.628 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.138e-05/1.03, allocations: 20 kB / 1.628 GB, free: 113.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,$PRE.optSta.hysSta.greHys.y,optSta.hysSta.greHys.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,$PRE.pul.booPul.y,pul.booPul.y,booToRea1.u,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004962/1.031, allocations: 284.2 kB / 1.628 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/1.031, allocations: 69.7 kB / 1.628 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/1.031, allocations: 74.56 kB / 1.628 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/1.031, allocations: 7.953 kB / 1.628 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/1.031, allocations: 2.062 kB / 1.628 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/1.031, allocations: 3.984 kB / 1.628 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/1.034, allocations: 1.292 MB / 1.63 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/1.034, allocations: 7.953 kB / 1.63 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007842/1.035, allocations: 89.48 kB / 1.63 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/1.035, allocations: 0.9062 kB / 1.63 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/1.035, allocations: 15.98 kB / 1.63 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/1.035, allocations: 4 kB / 1.63 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.035, allocations: 4.531 kB / 1.63 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/1.037, allocations: 0.8795 MB / 1.631 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/1.038, allocations: 152.1 kB / 1.631 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/1.038, allocations: 15.98 kB / 1.631 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005394/1.038, allocations: 45.59 kB / 1.631 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.039, allocations: 38.52 kB / 1.631 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/1.039, allocations: 17.38 kB / 1.631 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006074/1.039, allocations: 378.8 kB / 1.631 GB, free: 110 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/1.039, allocations: 0 / 1.631 GB, free: 110 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002392/1.042, allocations: 279.2 kB / 1.632 GB, free: 109.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,optSta.hysSta.greHys.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.tOcc,occSch.tNonOcc,occSch.tNext,pul.booPul.y) * Number of discrete states: 3 (occSch.tNext,optSta.hysSta.greHys.y,optSta.falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003935/1.042, allocations: 173.6 kB / 1.632 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002465/1.045, allocations: 0.9705 MB / 1.633 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.045, allocations: 0 / 1.633 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006989/1.045, allocations: 252.9 kB / 1.633 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/1.046, allocations: 114.4 kB / 1.633 GB, free: 108.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/1.049, allocations: 1.356 MB / 1.634 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/1.05, allocations: 0.9341 MB / 1.635 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005927/1.05, allocations: 86.92 kB / 1.635 GB, free: 105.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/1.05, allocations: 51.42 kB / 1.635 GB, free: 105.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.152e-06/1.05, allocations: 0 / 1.635 GB, free: 105.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.02057/1.071, allocations: 7.32 MB / 1.642 GB, free: 98.64 MB / 0.8542 GB