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.744/2.744, allocations: 287.5 MB / 302.4 MB, free: 8.324 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.00208/0.00208, allocations: 177.5 kB / 371 MB, free: 10.85 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.177/2.177, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.001466/0.001466, allocations: 88.48 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005389/0.0005391, allocations: 15.61 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2443, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.007701/0.2521, allocations: 5.208 MB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006887/0.259, allocations: 2.698 MB / 0.9861 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.2609, allocations: 43.81 kB / 0.9861 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004769/0.2614, allocations: 87.09 kB / 0.9862 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005579/0.262, allocations: 83.3 kB / 0.9863 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.2635, allocations: 366.9 kB / 0.9866 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.2649, allocations: 0.7747 MB / 0.9874 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007284/0.2657, allocations: 301.7 kB / 0.9877 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005216/0.2662, allocations: 218.9 kB / 0.9879 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/0.2667, allocations: 262.4 kB / 0.9881 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.2668, allocations: 24 kB / 0.9882 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/0.2672, allocations: 107.9 kB / 0.9883 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.2673, allocations: 107.4 kB / 0.9884 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.2676, allocations: 141.3 kB / 0.9885 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.2686, allocations: 0.7756 MB / 0.9892 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.2686, allocations: 0 / 0.9892 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.845e-06/0.2686, allocations: 0 / 0.9892 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.2687, allocations: 0 / 0.9892 GB, free: 17.14 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.002554/0.2712, allocations: 1.012 MB / 0.9902 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2713, allocations: 12.02 kB / 0.9902 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.2715, allocations: 94.88 kB / 0.9903 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009436/0.2725, allocations: 0.4997 MB / 0.9908 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.806e-05/0.2726, allocations: 53.3 kB / 0.9909 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.2727, allocations: 68 kB / 0.9909 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.2743, allocations: 0.6075 MB / 0.9915 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.2744, allocations: 4 kB / 0.9915 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.901e-05/0.2745, allocations: 24 kB / 0.9916 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.2745, allocations: 16 kB / 0.9916 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.2759, allocations: 468.9 kB / 0.992 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004489/0.2804, allocations: 2.351 MB / 0.9943 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003425/0.2839, allocations: 0.944 MB / 0.9952 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006875/0.2846, allocations: 242 kB / 0.9955 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.345e-05/0.2847, allocations: 4.375 kB / 0.9955 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008192/0.2856, allocations: 277.2 kB / 0.9957 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 4.549e-06/0.2856, allocations: 1.531 kB / 0.9957 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.002033/0.2876, allocations: 0.6271 MB / 0.9964 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.2877, allocations: 111.2 kB / 0.9965 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007929/0.2886, allocations: 0.5224 MB / 0.997 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/0.2887, allocations: 37.7 kB / 0.997 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.2891, allocations: 360.2 kB / 0.9974 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.2893, allocations: 165.6 kB / 0.9975 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.2893, allocations: 12 kB / 0.9975 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.2895, allocations: 382.7 kB / 0.9979 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007362/0.2902, allocations: 205.2 kB / 0.9981 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008131/0.291, allocations: 391.6 kB / 0.9985 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007531/0.2918, allocations: 275.7 kB / 0.9987 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/0.2918, allocations: 0 / 0.9987 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001959/0.2938, allocations: 0.6949 MB / 0.9994 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.294, allocations: 239.1 kB / 0.9996 GB, free: 6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/0.294, allocations: 4 kB / 0.9996 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.2941, allocations: 8 kB / 0.9996 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007622/0.2949, allocations: 111.8 kB / 0.9997 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.2949, allocations: 8 kB / 0.9998 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.296, allocations: 128.8 kB / 0.9999 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.771e-05/0.2961, allocations: 27.98 kB / 0.9999 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2961, allocations: 4 kB / 0.9999 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001483/0.2976, allocations: 0.565 MB / 1 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.2976, allocations: 4 kB / 1 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2977, allocations: 8 kB / 1 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/0.2983, allocations: 95.83 kB / 1.001 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.2983, allocations: 12.44 kB / 1.001 GB, free: 5.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008887/0.2992, allocations: 111.5 kB / 1.001 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/0.2993, allocations: 32 kB / 1.001 GB, free: 4.887 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.0004947/0.2998, allocations: 290.7 kB / 1.001 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.2999, allocations: 63.2 kB / 1.001 GB, free: 4.527 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.3001, allocations: 66.31 kB / 1.001 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3001, allocations: 7.984 kB / 1.001 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.3001, allocations: 0 / 1.001 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.3002, allocations: 0 / 1.001 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.3027, allocations: 1.201 MB / 1.002 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.3027, allocations: 4 kB / 1.002 GB, free: 3.199 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000672/0.3034, allocations: 79.89 kB / 1.002 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.3034, allocations: 4 kB / 1.002 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/0.3035, allocations: 15.98 kB / 1.002 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.3035, allocations: 3.938 kB / 1.002 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3035, allocations: 4 kB / 1.002 GB, free: 3.094 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.3056, allocations: 0.7986 MB / 1.003 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.3058, allocations: 144.2 kB / 1.003 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.3059, allocations: 12 kB / 1.003 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004834/0.3064, allocations: 43.91 kB / 1.003 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.3065, allocations: 36.38 kB / 1.003 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.3066, allocations: 12 kB / 1.003 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005413/0.3071, allocations: 350.8 kB / 1.004 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.71e-07/0.3072, allocations: 4 kB / 1.004 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001205/0.3084, allocations: 279 kB / 1.004 GB, free: 1.398 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.0003711/0.3088, allocations: 151.2 kB / 1.004 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00249/0.3113, allocations: 0.9693 MB / 1.005 GB, free: 240 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.3114, allocations: 0 / 1.005 GB, free: 240 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006716/0.3121, allocations: 222.4 kB / 1.005 GB, free: 16 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.3133, allocations: 106.5 kB / 1.005 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.3167, allocations: 1.333 MB / 1.007 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007245/0.3175, allocations: 0.9064 MB / 1.008 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006519/0.3182, allocations: 88.7 kB / 1.008 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.3184, allocations: 47.38 kB / 1.008 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/0.3184, allocations: 4 kB / 1.008 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of Templates: time 0.02554/0.344, allocations: 7.025 MB / 1.015 GB, free: 6.52 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)