Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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="mat",numberOfIntervals=5000,variableFilter="time|optSta.tOpt|optSta.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optSta.tOpt|optSta.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_latest_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.00141/0.00141, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00205/0.002051, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.627/2.627, allocations: 436.5 MB / 0.7104 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000589/0.0005891, allocations: 8 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8712/0.8719, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.008022/0.88, allocations: 5.167 MB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006171/0.8862, allocations: 2.681 MB / 1.028 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.8876, allocations: 39.81 kB / 1.029 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.8881, allocations: 154.3 kB / 1.029 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008697/0.8889, allocations: 235.1 kB / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.8914, allocations: 0.7854 MB / 1.03 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009613/0.8924, allocations: 0.5216 MB / 1.03 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006968/0.8931, allocations: 485.7 kB / 1.031 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.8933, allocations: 211 kB / 1.031 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.8936, allocations: 242.6 kB / 1.031 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.918e-05/0.8937, allocations: 24 kB / 1.031 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.8939, allocations: 103.8 kB / 1.031 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.894, allocations: 99.47 kB / 1.031 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.8942, allocations: 133.3 kB / 1.031 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006786/0.8949, allocations: 0.7461 MB / 1.032 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.8949, allocations: 0 / 1.032 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8949, allocations: 0 / 1.032 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.8949, allocations: 0 / 1.032 GB, free: 5.453 MB / 0.7794 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.001732/0.8966, allocations: 0.9766 MB / 1.033 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.8967, allocations: 8.031 kB / 1.033 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.8968, allocations: 90.97 kB / 1.033 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007059/0.8975, allocations: 473.8 kB / 1.034 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.189e-05/0.8976, allocations: 57.25 kB / 1.034 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-05/0.8977, allocations: 68 kB / 1.034 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.8988, allocations: 0.5998 MB / 1.034 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.8989, allocations: 3.938 kB / 1.034 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/0.8989, allocations: 24 kB / 1.034 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.8989, allocations: 12 kB / 1.034 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008614/0.8998, allocations: 456.9 kB / 1.035 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.903, allocations: 2.312 MB / 1.037 GB, free: 164 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/0.9053, allocations: 0.9607 MB / 1.038 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/0.9053, allocations: 4.375 kB / 1.038 GB, free: 15.15 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006836/0.906, allocations: 273.3 kB / 1.038 GB, free: 14.87 MB / 0.795 GB Notification: Performance of pre-optimization done (n=51): time 2.806e-06/0.906, allocations: 0 / 1.038 GB, free: 14.87 MB / 0.795 GB Notification: Performance of matching and sorting (n=51): time 0.001493/0.9075, allocations: 0.6911 MB / 1.039 GB, free: 14.15 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.13e-05/0.9076, allocations: 123.3 kB / 1.039 GB, free: 14.01 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000634/0.9083, allocations: 482.7 kB / 1.04 GB, free: 13.53 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.127e-05/0.9084, allocations: 49.69 kB / 1.04 GB, free: 13.47 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.9086, allocations: 340.1 kB / 1.04 GB, free: 13.13 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.9088, allocations: 161.7 kB / 1.04 GB, free: 12.97 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.9088, allocations: 12 kB / 1.04 GB, free: 12.96 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002362/0.9091, allocations: 374.8 kB / 1.04 GB, free: 12.59 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004373/0.9095, allocations: 205.2 kB / 1.041 GB, free: 12.38 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005382/0.9101, allocations: 395.4 kB / 1.041 GB, free: 11.93 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.9105, allocations: 259.8 kB / 1.041 GB, free: 11.67 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.9105, allocations: 8 kB / 1.041 GB, free: 11.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001251/0.9118, allocations: 0.6754 MB / 1.042 GB, free: 10.97 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009369/0.9127, allocations: 1.521 MB / 1.043 GB, free: 9.328 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.9128, allocations: 7.938 kB / 1.043 GB, free: 9.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.9128, allocations: 11.95 kB / 1.043 GB, free: 9.309 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.9132, allocations: 107.8 kB / 1.044 GB, free: 9.203 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.9132, allocations: 11.94 kB / 1.044 GB, free: 9.191 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/0.9138, allocations: 135.4 kB / 1.044 GB, free: 9.059 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.9139, allocations: 27.98 kB / 1.044 GB, free: 9.031 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.9139, allocations: 6.031 kB / 1.044 GB, free: 9.027 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008767/0.9148, allocations: 0.5576 MB / 1.044 GB, free: 8.461 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.9148, allocations: 7.984 kB / 1.044 GB, free: 8.453 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.9148, allocations: 8 kB / 1.044 GB, free: 8.445 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.9151, allocations: 99.83 kB / 1.044 GB, free: 8.348 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.9152, allocations: 4 kB / 1.044 GB, free: 8.344 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.9156, allocations: 119.6 kB / 1.044 GB, free: 8.227 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/0.9157, allocations: 27.98 kB / 1.044 GB, free: 8.199 MB / 0.795 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.0003603/0.9161, allocations: 290.6 kB / 1.045 GB, free: 7.906 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.181e-05/0.9162, allocations: 59.33 kB / 1.045 GB, free: 7.848 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.9163, allocations: 57.83 kB / 1.045 GB, free: 7.793 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.9163, allocations: 8 kB / 1.045 GB, free: 7.785 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.9163, allocations: 0 / 1.045 GB, free: 7.785 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.9163, allocations: 3.984 kB / 1.045 GB, free: 7.781 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.918, allocations: 1.166 MB / 1.046 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.918, allocations: 4 kB / 1.046 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.9184, allocations: 91.77 kB / 1.046 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.9184, allocations: 0 / 1.046 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.9184, allocations: 11.98 kB / 1.046 GB, free: 6.453 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9184, allocations: 0 / 1.046 GB, free: 6.453 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9184, allocations: 0 / 1.046 GB, free: 6.453 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.9197, allocations: 0.7869 MB / 1.047 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.9198, allocations: 140.3 kB / 1.047 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.9199, allocations: 12 kB / 1.047 GB, free: 5.484 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.9202, allocations: 43.97 kB / 1.047 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.9203, allocations: 36.38 kB / 1.047 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.9203, allocations: 16 kB / 1.047 GB, free: 5.391 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003494/0.9207, allocations: 322.9 kB / 1.047 GB, free: 5.078 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9207, allocations: 0 / 1.047 GB, free: 5.078 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007965/0.9215, allocations: 279 kB / 1.048 GB, free: 4.805 MB / 0.795 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.0002424/0.9217, allocations: 159.6 kB / 1.048 GB, free: 4.641 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.9232, allocations: 0.9538 MB / 1.049 GB, free: 3.656 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.9232, allocations: 4 kB / 1.049 GB, free: 3.652 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.9236, allocations: 222.5 kB / 1.049 GB, free: 3.434 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.9242, allocations: 111.9 kB / 1.049 GB, free: 3.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.9261, allocations: 1.27 MB / 1.05 GB, free: 2.027 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.9266, allocations: 0.9102 MB / 1.051 GB, free: 1.09 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002879/0.9269, allocations: 80.59 kB / 1.051 GB, free: 1.008 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.927, allocations: 47.42 kB / 1.051 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of SimCode: time 8.22e-07/0.9271, allocations: 0 / 1.051 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of Templates: time 0.01433/0.9414, allocations: 6.915 MB / 1.058 GB, free: 10.13 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.csv","../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches