Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.98/1.98, allocations: 287.5 MB / 302.6 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001907/0.001907, allocations: 182.7 kB / 371.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.266/2.266, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008895/0.0008895, allocations: 92.86 kB / 0.7432 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004511, allocations: 10.72 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2494, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.005596/0.2551, allocations: 5.204 MB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006675/0.2618, allocations: 2.698 MB / 0.9864 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001804/0.2636, allocations: 51.75 kB / 0.9864 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.2641, allocations: 79.17 kB / 0.9865 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.2644, allocations: 87.28 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.2658, allocations: 364.1 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006471/0.2665, allocations: 0.7902 MB / 0.9877 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004939/0.267, allocations: 414.6 kB / 0.9881 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.2672, allocations: 222.8 kB / 0.9883 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.2675, allocations: 250.5 kB / 0.9886 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.851e-05/0.2676, allocations: 24 kB / 0.9886 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.2678, allocations: 115.8 kB / 0.9887 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.752e-05/0.2679, allocations: 99.47 kB / 0.9888 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.268, allocations: 149.3 kB / 0.9889 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.2685, allocations: 0.7675 MB / 0.9897 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2685, allocations: 0 / 0.9897 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2686, allocations: 0 / 0.9897 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.2686, allocations: 0 / 0.9897 GB, free: 16.86 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.001447/0.27, allocations: 1.008 MB / 0.9907 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2701, allocations: 8.031 kB / 0.9907 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.2702, allocations: 99.81 kB / 0.9908 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.2708, allocations: 0.5163 MB / 0.9913 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.2708, allocations: 49.69 kB / 0.9913 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/0.2709, allocations: 72.38 kB / 0.9914 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000878/0.2718, allocations: 0.6159 MB / 0.992 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.2719, allocations: 192 / 0.992 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.2719, allocations: 27.94 kB / 0.992 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.2719, allocations: 16 kB / 0.992 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008139/0.2727, allocations: 460.9 kB / 0.9925 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002444/0.2752, allocations: 2.347 MB / 0.9948 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.277, allocations: 0.9556 MB / 0.9957 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.2774, allocations: 245.9 kB / 0.9959 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.2774, allocations: 4.375 kB / 0.9959 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004377/0.2778, allocations: 277.2 kB / 0.9962 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 2.134e-06/0.2779, allocations: 1.531 kB / 0.9962 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.001061/0.2789, allocations: 0.6233 MB / 0.9968 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.279, allocations: 115.2 kB / 0.9969 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.2794, allocations: 0.5184 MB / 0.9974 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.2795, allocations: 41.7 kB / 0.9975 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.2796, allocations: 356.2 kB / 0.9978 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-05/0.2797, allocations: 165.7 kB / 0.998 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.2798, allocations: 16 kB / 0.998 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.2799, allocations: 374.8 kB / 0.9983 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.2802, allocations: 205.2 kB / 0.9985 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.2807, allocations: 402.2 kB / 0.9989 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007067/0.2814, allocations: 0.5456 MB / 0.9995 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2814, allocations: 3.938 kB / 0.9995 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001015/0.2825, allocations: 0.6909 MB / 1 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.901e-05/0.2826, allocations: 239.1 kB / 1 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.2826, allocations: 4 kB / 1 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.2826, allocations: 8 kB / 1 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.283, allocations: 107.8 kB / 1 GB, free: 5.246 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.283, allocations: 11.94 kB / 1 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/0.2835, allocations: 141 kB / 1.001 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.2836, allocations: 27.98 kB / 1.001 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.603e-06/0.2836, allocations: 7.938 kB / 1.001 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007725/0.2844, allocations: 0.5574 MB / 1.001 GB, free: 4.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2844, allocations: 4 kB / 1.001 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.47e-06/0.2844, allocations: 8 kB / 1.001 GB, free: 4.488 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.2847, allocations: 91.84 kB / 1.001 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.2847, allocations: 11.92 kB / 1.001 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.2852, allocations: 111.9 kB / 1.001 GB, free: 4.277 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.2852, allocations: 24 kB / 1.001 GB, free: 4.254 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.0002396/0.2854, allocations: 290.7 kB / 1.002 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.2855, allocations: 67.09 kB / 1.002 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.2856, allocations: 70.31 kB / 1.002 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.2856, allocations: 11.98 kB / 1.002 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.2856, allocations: 0 / 1.002 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2857, allocations: 3.984 kB / 1.002 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.2871, allocations: 1.193 MB / 1.003 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2871, allocations: 7.938 kB / 1.003 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.2874, allocations: 83.89 kB / 1.003 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2874, allocations: 0 / 1.003 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.2875, allocations: 12 kB / 1.003 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.2875, allocations: 4 kB / 1.003 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2875, allocations: 0 / 1.003 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.2886, allocations: 0.8025 MB / 1.004 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.762e-05/0.2887, allocations: 136.2 kB / 1.004 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.337e-05/0.2888, allocations: 12 kB / 1.004 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.289, allocations: 47.95 kB / 1.004 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.859e-05/0.2891, allocations: 36.33 kB / 1.004 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.2892, allocations: 19.98 kB / 1.004 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003132/0.2895, allocations: 342.9 kB / 1.004 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2895, allocations: 0 / 1.004 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006561/0.2902, allocations: 283 kB / 1.005 GB, free: 0.7578 MB / 0.6198 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.0002183/0.2904, allocations: 155.1 kB / 1.005 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.2918, allocations: 0.9653 MB / 1.006 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2918, allocations: 0 / 1.006 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003986/0.2922, allocations: 226.5 kB / 1.006 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.2929, allocations: 110.3 kB / 1.006 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.2948, allocations: 1.326 MB / 1.007 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.2954, allocations: 0.9142 MB / 1.008 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003238/0.2957, allocations: 80.72 kB / 1.008 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.2959, allocations: 47.42 kB / 1.008 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.2959, allocations: 0 / 1.008 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of Templates: time 0.01343/0.3093, allocations: 7.037 MB / 1.015 GB, free: 5.875 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)