Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008205/0.0008204, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008467/0.000847, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004789, allocations: 13.91 kB / 0.6737 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2097, allocations: 116.3 MB / 0.7873 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.006512/0.2163, allocations: 5.212 MB / 0.7924 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005141/0.2215, allocations: 2.706 MB / 0.795 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.2228, allocations: 39.81 kB / 0.7951 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.2232, allocations: 91.09 kB / 0.7951 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.2236, allocations: 83.3 kB / 0.7952 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.2248, allocations: 367 kB / 0.7956 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000936/0.2258, allocations: 0.7708 MB / 0.7963 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004741/0.2262, allocations: 297.8 kB / 0.7966 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.2266, allocations: 226.8 kB / 0.7968 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.2269, allocations: 254.5 kB / 0.7971 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.97e-05/0.2269, allocations: 24 kB / 0.7971 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.2271, allocations: 115.8 kB / 0.7972 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.2273, allocations: 103.5 kB / 0.7973 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.2274, allocations: 141.3 kB / 0.7974 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006694/0.2281, allocations: 0.7794 MB / 0.7982 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2281, allocations: 4 kB / 0.7982 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2281, allocations: 0 / 0.7982 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.2281, allocations: 0 / 0.7982 GB, free: 0.6641 MB / 0.6075 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.001478/0.2296, allocations: 1.004 MB / 0.7992 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2296, allocations: 12.03 kB / 0.7992 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.2298, allocations: 94.88 kB / 0.7993 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006211/0.2304, allocations: 0.4998 MB / 0.7998 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.2304, allocations: 49.31 kB / 0.7998 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.2306, allocations: 68 kB / 0.7999 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.2316, allocations: 0.6037 MB / 0.8005 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.2316, allocations: 3.938 kB / 0.8005 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/0.2317, allocations: 28 kB / 0.8005 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.2317, allocations: 12 kB / 0.8005 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008506/0.2325, allocations: 464.9 kB / 0.801 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/0.2355, allocations: 2.351 MB / 0.8033 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.2373, allocations: 0.9553 MB / 0.8042 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.2377, allocations: 238 kB / 0.8044 GB, free: 10 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.2378, allocations: 4.375 kB / 0.8044 GB, free: 10 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004923/0.2383, allocations: 273.3 kB / 0.8047 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=51): time 3.928e-06/0.2383, allocations: 7.922 kB / 0.8047 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of matching and sorting (n=51): time 0.001202/0.2395, allocations: 0.631 MB / 0.8053 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.2396, allocations: 111.2 kB / 0.8054 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005581/0.2402, allocations: 0.5161 MB / 0.8059 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.2402, allocations: 49.7 kB / 0.806 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.2405, allocations: 356.2 kB / 0.8063 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.2406, allocations: 161.7 kB / 0.8065 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.2406, allocations: 12 kB / 0.8065 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2408, allocations: 374.8 kB / 0.8068 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.2412, allocations: 209.2 kB / 0.807 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/0.2417, allocations: 391.5 kB / 0.8074 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.2422, allocations: 267.8 kB / 0.8076 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.2422, allocations: 4 kB / 0.8077 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00114/0.2434, allocations: 0.691 MB / 0.8083 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.2435, allocations: 235.1 kB / 0.8086 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.2435, allocations: 12 kB / 0.8086 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.2436, allocations: 4 kB / 0.8086 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.2439, allocations: 119.8 kB / 0.8087 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.244, allocations: 4 kB / 0.8087 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.2445, allocations: 135.3 kB / 0.8088 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.2445, allocations: 31.94 kB / 0.8088 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.152e-06/0.2445, allocations: 4 kB / 0.8088 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008655/0.2454, allocations: 0.5534 MB / 0.8094 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2454, allocations: 8 kB / 0.8094 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.2454, allocations: 11.95 kB / 0.8094 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.2458, allocations: 91.83 kB / 0.8095 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2458, allocations: 8 kB / 0.8095 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.2462, allocations: 123.9 kB / 0.8096 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.2462, allocations: 24 kB / 0.8096 GB, free: 4.41 MB / 0.6231 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.0002924/0.2465, allocations: 290.7 kB / 0.8099 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/0.2466, allocations: 59.25 kB / 0.81 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.2467, allocations: 70.27 kB / 0.81 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2468, allocations: 4 kB / 0.81 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.2468, allocations: 4 kB / 0.8101 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.2468, allocations: 7.922 kB / 0.8101 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.2484, allocations: 1.189 MB / 0.8112 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2484, allocations: 3.953 kB / 0.8112 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.2487, allocations: 83.89 kB / 0.8113 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.2487, allocations: 0 / 0.8113 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.2488, allocations: 15.98 kB / 0.8113 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2488, allocations: 7.938 kB / 0.8113 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2488, allocations: 0 / 0.8113 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.25, allocations: 0.7947 MB / 0.8121 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.903e-05/0.2501, allocations: 144.2 kB / 0.8122 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.16e-05/0.2501, allocations: 12 kB / 0.8123 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.2504, allocations: 39.97 kB / 0.8123 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/0.2505, allocations: 40.38 kB / 0.8123 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.2505, allocations: 12 kB / 0.8123 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003633/0.2509, allocations: 350.8 kB / 0.8127 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2509, allocations: 3.938 kB / 0.8127 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007067/0.2516, allocations: 279 kB / 0.8129 GB, free: 0.9297 MB / 0.6231 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.0002264/0.2518, allocations: 155.9 kB / 0.8131 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.2533, allocations: 0.9615 MB / 0.814 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.2533, allocations: 8.125 kB / 0.814 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.2537, allocations: 222.3 kB / 0.8143 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/0.2543, allocations: 112.9 kB / 0.8144 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.2561, allocations: 1.325 MB / 0.8157 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.2566, allocations: 0.9103 MB / 0.8165 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002975/0.2569, allocations: 80.8 kB / 0.8166 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.257, allocations: 51.42 kB / 0.8167 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/0.2571, allocations: 0 / 0.8167 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of Templates: time 0.0122/0.2693, allocations: 7.033 MB / 0.8235 GB, free: 6.059 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1) Environment - environmentSimulation: