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 2.628/2.628, allocations: 287.9 MB / 302.9 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 191.2 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 0.6301 GB, free: 10.34 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 90.84 kB / 0.7434 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.000471, allocations: 18.02 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1532, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.005605/0.1589, allocations: 5.24 MB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00503/0.164, allocations: 2.702 MB / 0.9865 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.1653, allocations: 39.81 kB / 0.9865 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004791/0.1658, allocations: 154.3 kB / 0.9867 GB, free: 20 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.167, allocations: 259 kB / 0.9869 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.1695, allocations: 0.7819 MB / 0.9877 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001031/0.1705, allocations: 0.5295 MB / 0.9882 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006581/0.1712, allocations: 493.8 kB / 0.9887 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.1715, allocations: 226.9 kB / 0.9889 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.1718, allocations: 258.4 kB / 0.9892 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.882e-05/0.1719, allocations: 20 kB / 0.9892 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.1722, allocations: 107.8 kB / 0.9893 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.1723, allocations: 107.5 kB / 0.9894 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.1724, allocations: 141.3 kB / 0.9895 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007147/0.1731, allocations: 0.7795 MB / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.018e-06/0.1731, allocations: 0 / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.051e-06/0.1732, allocations: 0 / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.1732, allocations: 0 / 0.9903 GB, free: 16.32 MB / 0.6198 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.00167/0.1749, allocations: 1.001 MB / 0.9913 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1749, allocations: 16.02 kB / 0.9913 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.1751, allocations: 94.88 kB / 0.9914 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007465/0.1758, allocations: 0.4998 MB / 0.9918 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/0.1759, allocations: 57.25 kB / 0.9919 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.176, allocations: 64 kB / 0.992 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.1773, allocations: 0.6075 MB / 0.9926 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.1773, allocations: 0 / 0.9926 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/0.1774, allocations: 23.98 kB / 0.9926 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.1774, allocations: 16 kB / 0.9926 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.1785, allocations: 457 kB / 0.993 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004427/0.183, allocations: 2.359 MB / 0.9953 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004278/0.1873, allocations: 0.9439 MB / 0.9963 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-05/0.1874, allocations: 8.375 kB / 0.9963 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009733/0.1884, allocations: 277.2 kB / 0.9965 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 5.687e-06/0.1884, allocations: 0 / 0.9965 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.002802/0.1913, allocations: 0.7122 MB / 0.9972 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.1914, allocations: 107.2 kB / 0.9973 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.1925, allocations: 0.5146 MB / 0.9978 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.1927, allocations: 45.7 kB / 0.9979 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.1931, allocations: 356.2 kB / 0.9982 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.1934, allocations: 165.6 kB / 0.9984 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/0.1935, allocations: 12 kB / 0.9984 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1937, allocations: 374.8 kB / 0.9987 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009653/0.1947, allocations: 209.2 kB / 0.9989 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.1959, allocations: 399.5 kB / 0.9993 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.197, allocations: 275.7 kB / 0.9996 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.197, allocations: 3.953 kB / 0.9996 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002898/0.2, allocations: 0.6948 MB / 1 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000444/0.2004, allocations: 1.513 MB / 1.002 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/0.2005, allocations: 4 kB / 1.002 GB, free: 3.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.354e-05/0.2005, allocations: 8 kB / 1.002 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000965/0.2015, allocations: 111.8 kB / 1.002 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.46e-05/0.2016, allocations: 8 kB / 1.002 GB, free: 3.855 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.203, allocations: 135.4 kB / 1.002 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.2031, allocations: 27.98 kB / 1.002 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2031, allocations: 4 kB / 1.002 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002184/0.2053, allocations: 0.5613 MB / 1.003 GB, free: 3.125 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.2054, allocations: 4 kB / 1.003 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.2054, allocations: 8 kB / 1.003 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008009/0.2063, allocations: 99.83 kB / 1.003 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/0.2063, allocations: 11.89 kB / 1.003 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.2075, allocations: 113.1 kB / 1.003 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.2077, allocations: 27.98 kB / 1.003 GB, free: 2.867 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,$whenCondition3,$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,conPID.con1.y,conPID1.con1.y,optSta.con3.y,optSta.con.y,optSta.optOn,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 70 * 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.0006584/0.2083, allocations: 294.7 kB / 1.003 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.2085, allocations: 59.25 kB / 1.003 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.2088, allocations: 70.31 kB / 1.003 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.2088, allocations: 8 kB / 1.003 GB, free: 2.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.2088, allocations: 3.953 kB / 1.003 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.2089, allocations: 3.984 kB / 1.003 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003761/0.2127, allocations: 1.189 MB / 1.004 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.6e-06/0.2127, allocations: 4 kB / 1.004 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008722/0.2136, allocations: 83.89 kB / 1.004 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.2136, allocations: 0 / 1.004 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-05/0.2137, allocations: 11.95 kB / 1.005 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.2137, allocations: 4 kB / 1.005 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.265e-06/0.2138, allocations: 0 / 1.005 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00302/0.2168, allocations: 0.8064 MB / 1.005 GB, free: 260 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.2171, allocations: 140.1 kB / 1.005 GB, free: 100 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.2173, allocations: 12.03 kB / 1.005 GB, free: 88 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006885/0.218, allocations: 47.92 kB / 1.005 GB, free: 40 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.2181, allocations: 32.39 kB / 1.006 GB, free: 8 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.2183, allocations: 19.98 kB / 1.006 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009942/0.2193, allocations: 350.8 kB / 1.006 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.293e-06/0.2193, allocations: 0 / 1.006 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002001/0.2213, allocations: 275 kB / 1.006 GB, free: 15.38 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 11 ($whenCondition3,$whenCondition1,$whenCondition2,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 (48): * Single equations (assignments): 46 * 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.0004818/0.2218, allocations: 151.2 kB / 1.006 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004092/0.226, allocations: 0.9693 MB / 1.007 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/0.226, allocations: 4 kB / 1.007 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.2271, allocations: 218.5 kB / 1.007 GB, free: 14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.2286, allocations: 106.3 kB / 1.008 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.2329, allocations: 1.318 MB / 1.009 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.234, allocations: 0.9298 MB / 1.01 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008626/0.2349, allocations: 84.66 kB / 1.01 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.2353, allocations: 51.42 kB / 1.01 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of SimCode: time 2.319e-06/0.2353, allocations: 0 / 1.01 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of Templates: time 0.03478/0.2701, allocations: 7.014 MB / 1.017 GB, free: 4.527 MB / 0.6355 GB