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 2.975/2.975, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.001595/0.001595, allocations: 186.7 kB / 370.8 MB, free: 10.88 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.17/2.17, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001172/0.001172, allocations: 95.53 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.0005099, allocations: 10.12 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2354, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.007897/0.2433, allocations: 5.24 MB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006617/0.25, allocations: 2.694 MB / 0.9859 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.2516, allocations: 39.81 kB / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006458/0.2523, allocations: 162.3 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.2538, allocations: 263 kB / 0.9864 GB, free: 20 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.2572, allocations: 0.7801 MB / 0.9871 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.2589, allocations: 0.5294 MB / 0.9877 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007819/0.2597, allocations: 489.9 kB / 0.9881 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.26, allocations: 226.9 kB / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003435/0.2604, allocations: 254.5 kB / 0.9886 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.242e-05/0.2605, allocations: 20 kB / 0.9886 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.2608, allocations: 103.9 kB / 0.9887 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.261, allocations: 107.5 kB / 0.9888 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.2611, allocations: 141.3 kB / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008836/0.262, allocations: 0.7833 MB / 0.9897 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.262, allocations: 0 / 0.9897 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.262, allocations: 0 / 0.9897 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.2621, allocations: 0 / 0.9897 GB, free: 16.57 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.002319/0.2644, allocations: 1.004 MB / 0.9907 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.2644, allocations: 16.02 kB / 0.9907 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.2647, allocations: 94.88 kB / 0.9908 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000907/0.2656, allocations: 0.5037 MB / 0.9913 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.204e-05/0.2657, allocations: 49.31 kB / 0.9913 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.2658, allocations: 64 kB / 0.9914 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.2673, allocations: 0.6075 MB / 0.992 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.2674, allocations: 3.938 kB / 0.992 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.2674, allocations: 24 kB / 0.992 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.2675, allocations: 16 kB / 0.992 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.2688, allocations: 464.9 kB / 0.9925 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004317/0.2732, allocations: 2.351 MB / 0.9948 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003566/0.2768, allocations: 0.9479 MB / 0.9957 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.024e-05/0.2769, allocations: 12.31 kB / 0.9957 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008012/0.2777, allocations: 269.3 kB / 0.996 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 4.318e-06/0.2778, allocations: 0 / 0.996 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.002076/0.2798, allocations: 0.716 MB / 0.9967 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.2799, allocations: 111.2 kB / 0.9968 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007582/0.2807, allocations: 0.5184 MB / 0.9973 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.2808, allocations: 41.7 kB / 0.9973 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.2811, allocations: 356.2 kB / 0.9977 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.2813, allocations: 165.6 kB / 0.9978 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.2814, allocations: 16 kB / 0.9978 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2815, allocations: 378.8 kB / 0.9982 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006786/0.2822, allocations: 201.2 kB / 0.9984 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008209/0.283, allocations: 394.2 kB / 0.9988 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007398/0.2838, allocations: 279.7 kB / 0.999 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.2838, allocations: 3.953 kB / 0.999 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001867/0.2857, allocations: 0.6873 MB / 0.9997 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003296/0.286, allocations: 1.524 MB / 1.001 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.2861, allocations: 4 kB / 1.001 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.2861, allocations: 11.98 kB / 1.001 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/0.2869, allocations: 111.8 kB / 1.001 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.2869, allocations: 8 kB / 1.001 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009636/0.2879, allocations: 131.4 kB / 1.001 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.498e-05/0.288, allocations: 27.98 kB / 1.001 GB, free: 3.938 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.288, allocations: 6.031 kB / 1.001 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001373/0.2894, allocations: 0.5573 MB / 1.002 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.2894, allocations: 4 kB / 1.002 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2894, allocations: 8 kB / 1.002 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.29, allocations: 95.78 kB / 1.002 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.2901, allocations: 12.44 kB / 1.002 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.291, allocations: 115.5 kB / 1.002 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.529e-05/0.2911, allocations: 28 kB / 1.002 GB, free: 3.113 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.0004498/0.2915, allocations: 288.6 kB / 1.003 GB, free: 2.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.2916, allocations: 59.25 kB / 1.003 GB, free: 2.762 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.2918, allocations: 70.31 kB / 1.003 GB, free: 2.691 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.2918, allocations: 8 kB / 1.003 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.2918, allocations: 3.953 kB / 1.003 GB, free: 2.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.2918, allocations: 7.984 kB / 1.003 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.2943, allocations: 1.193 MB / 1.004 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2943, allocations: 0 / 1.004 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007075/0.295, allocations: 83.89 kB / 1.004 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.295, allocations: 0 / 1.004 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.2951, allocations: 15.95 kB / 1.004 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.2951, allocations: 4 kB / 1.004 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2951, allocations: 4 kB / 1.004 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.2971, allocations: 0.7948 MB / 1.005 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.2973, allocations: 140.1 kB / 1.005 GB, free: 360 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.2974, allocations: 16 kB / 1.005 GB, free: 344 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.298, allocations: 47.91 kB / 1.005 GB, free: 296 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.2981, allocations: 36.33 kB / 1.005 GB, free: 260 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.2982, allocations: 19.98 kB / 1.005 GB, free: 240 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005926/0.2988, allocations: 342.9 kB / 1.005 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2988, allocations: 0 / 1.005 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001239/0.3, allocations: 287 kB / 1.006 GB, free: 15.62 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.0003841/0.3004, allocations: 147.2 kB / 1.006 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003659/0.3041, allocations: 0.9692 MB / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.3042, allocations: 0 / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.3053, allocations: 218.4 kB / 1.007 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009898/0.3063, allocations: 102.5 kB / 1.007 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.3096, allocations: 1.328 MB / 1.008 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/0.3103, allocations: 0.922 MB / 1.009 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006775/0.311, allocations: 84.7 kB / 1.009 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.3112, allocations: 47.42 kB / 1.009 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of SimCode: time 1.293e-06/0.3112, allocations: 4 kB / 1.009 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.0241/0.3353, allocations: 7.011 MB / 1.016 GB, free: 4.766 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)