Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.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_3.0.0_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.001048/0.001048, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.00896/0.00896, allocations: 174.1 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003773, allocations: 11.78 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3852, allocations: 162.2 MB / 1.074 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.007402/0.3927, allocations: 5.484 MB / 1.079 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006846/0.3996, allocations: 2.727 MB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.4016, allocations: 39.81 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004166/0.402, allocations: 83.17 kB / 1.082 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.4024, allocations: 79.36 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.4039, allocations: 430.4 kB / 1.083 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008954/0.4048, allocations: 0.8058 MB / 1.084 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006362/0.4054, allocations: 406.3 kB / 1.084 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.4057, allocations: 218.8 kB / 1.084 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.4061, allocations: 262.2 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.4062, allocations: 24 kB / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.4065, allocations: 111.9 kB / 1.085 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.4066, allocations: 111.4 kB / 1.085 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.4069, allocations: 307.7 kB / 1.085 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009152/0.4078, allocations: 0.9303 MB / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4078, allocations: 0 / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.504e-06/0.4078, allocations: 0 / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.4079, allocations: 0 / 1.086 GB, free: 11.55 MB / 0.8419 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.001792/0.4097, allocations: 0.967 MB / 1.087 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4097, allocations: 8.031 kB / 1.087 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.4099, allocations: 87.91 kB / 1.087 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.4105, allocations: 490.7 kB / 1.087 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.4105, allocations: 53.69 kB / 1.087 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-05/0.4106, allocations: 64.38 kB / 1.087 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.4117, allocations: 0.6237 MB / 1.088 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.4117, allocations: 192 / 1.088 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.4117, allocations: 27.94 kB / 1.088 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.4118, allocations: 12 kB / 1.088 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008913/0.4127, allocations: 457 kB / 1.089 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003082/0.4158, allocations: 2.316 MB / 1.091 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.4178, allocations: 0.949 MB / 1.092 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/0.4183, allocations: 259.9 kB / 1.092 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.4183, allocations: 4.594 kB / 1.092 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006052/0.419, allocations: 273.3 kB / 1.092 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=51): time 4.649e-06/0.419, allocations: 7.875 kB / 1.092 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of matching and sorting (n=51): time 0.001392/0.4204, allocations: 0.6194 MB / 1.093 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.4205, allocations: 119.2 kB / 1.093 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005627/0.421, allocations: 482.7 kB / 1.093 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.4211, allocations: 49.69 kB / 1.093 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.4214, allocations: 340.2 kB / 1.094 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.4215, allocations: 165.7 kB / 1.094 GB, free: 2.883 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.722e-05/0.4216, allocations: 69.69 kB / 1.094 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4218, allocations: 366.8 kB / 1.094 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.4222, allocations: 205.2 kB / 1.095 GB, free: 2.238 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005612/0.4228, allocations: 403.5 kB / 1.095 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008756/0.4237, allocations: 0.5456 MB / 1.095 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.4237, allocations: 7.938 kB / 1.095 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001226/0.4249, allocations: 0.6911 MB / 1.096 GB, free: 472 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.4251, allocations: 236.2 kB / 1.096 GB, free: 172 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.4251, allocations: 4 kB / 1.096 GB, free: 168 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.4252, allocations: 8 kB / 1.096 GB, free: 160 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.4256, allocations: 107.8 kB / 1.096 GB, free: 52 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.4256, allocations: 8 kB / 1.096 GB, free: 44 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/0.4262, allocations: 135.4 kB / 1.097 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.4262, allocations: 24 kB / 1.097 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.4263, allocations: 7.938 kB / 1.097 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008989/0.4272, allocations: 0.5614 MB / 1.097 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.4272, allocations: 7.938 kB / 1.097 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.4272, allocations: 11.94 kB / 1.097 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.4275, allocations: 95.83 kB / 1.097 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4275, allocations: 4 kB / 1.097 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.428, allocations: 119.7 kB / 1.097 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.4281, allocations: 24 kB / 1.097 GB, free: 15.05 MB / 0.8575 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,pul.booPul.y,$PRE.pul.booPul.y,occSch.tNext,$PRE.occSch.tNext,occSch.tNonOcc,$PRE.occSch.tNonOcc,occSch.tOcc,$PRE.occSch.tOcc,occSch.occupied,$PRE.occSch.occupied,optSta.falEdg.not_u,$PRE.optSta.falEdg.not_u,optSta.falEdg.y,optSta.hysSta.greHys.y,$PRE.optSta.hysSta.greHys.y,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003615/0.4284, allocations: 290.7 kB / 1.098 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.4285, allocations: 59.28 kB / 1.098 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.4286, allocations: 61.81 kB / 1.098 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.4287, allocations: 8 kB / 1.098 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.4287, allocations: 0 / 1.098 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.4287, allocations: 3.984 kB / 1.098 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.4305, allocations: 1.181 MB / 1.099 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4305, allocations: 0 / 1.099 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.4308, allocations: 75.89 kB / 1.099 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4308, allocations: 4 kB / 1.099 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.4309, allocations: 12 kB / 1.099 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4309, allocations: 0 / 1.099 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4309, allocations: 0 / 1.099 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.4322, allocations: 0.8024 MB / 1.1 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.4323, allocations: 132.3 kB / 1.1 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/0.4324, allocations: 16.03 kB / 1.1 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.4327, allocations: 39.97 kB / 1.1 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.4328, allocations: 32.39 kB / 1.1 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.4328, allocations: 19.98 kB / 1.1 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000383/0.4332, allocations: 326.9 kB / 1.1 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4332, allocations: 0 / 1.1 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008053/0.434, allocations: 275 kB / 1.101 GB, free: 11.64 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002857/0.4343, allocations: 163.1 kB / 1.101 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001574/0.4359, allocations: 0.9653 MB / 1.102 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4359, allocations: 192 / 1.102 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003985/0.4363, allocations: 226.4 kB / 1.102 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007351/0.437, allocations: 105.8 kB / 1.102 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.4391, allocations: 1.348 MB / 1.103 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.4395, allocations: 0.8985 MB / 1.104 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002984/0.4398, allocations: 80.59 kB / 1.104 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.44, allocations: 47.42 kB / 1.104 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of SimCode: time 6.11e-07/0.44, allocations: 0 / 1.104 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of Templates: time 0.01563/0.4556, allocations: 7.16 MB / 1.111 GB, free: 0.6406 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)