Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001156/0.001156, allocations: 86.09 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.001412/0.001412, 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 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.82/2.82, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 8 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9609/0.9613, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.007696/0.969, allocations: 5.131 MB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006689/0.9758, allocations: 2.693 MB / 1.03 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.9776, allocations: 43.81 kB / 1.03 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004929/0.9781, allocations: 79.17 kB / 1.03 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.9785, allocations: 71.36 kB / 1.03 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.9799, allocations: 371.2 kB / 1.031 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009939/0.9809, allocations: 0.7592 MB / 1.031 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005704/0.9815, allocations: 297.7 kB / 1.032 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.9818, allocations: 214.9 kB / 1.032 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.9822, allocations: 242.5 kB / 1.032 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.418e-05/0.9823, allocations: 27.94 kB / 1.032 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.9826, allocations: 103.9 kB / 1.032 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.9827, allocations: 103.5 kB / 1.032 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.9829, allocations: 137.3 kB / 1.032 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007855/0.9837, allocations: 0.7383 MB / 1.033 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.9837, allocations: 3.938 kB / 1.033 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9837, allocations: 0 / 1.033 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.9837, allocations: 4 kB / 1.033 GB, free: 5.023 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.001874/0.9856, allocations: 0.9728 MB / 1.034 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.9857, allocations: 12.56 kB / 1.034 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.9858, allocations: 82.97 kB / 1.034 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.9865, allocations: 481.8 kB / 1.035 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/0.9866, allocations: 57.27 kB / 1.035 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.9867, allocations: 64 kB / 1.035 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.9878, allocations: 0.6036 MB / 1.035 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.9878, allocations: 4 kB / 1.035 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.369e-05/0.9879, allocations: 27.98 kB / 1.035 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.9879, allocations: 16 kB / 1.035 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008415/0.9888, allocations: 456.9 kB / 1.036 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/0.9919, allocations: 2.32 MB / 1.038 GB, free: 15.71 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.9938, allocations: 0.9373 MB / 1.039 GB, free: 14.73 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.9942, allocations: 254 kB / 1.039 GB, free: 14.48 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.9943, allocations: 12.27 kB / 1.039 GB, free: 14.47 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004929/0.9948, allocations: 277.3 kB / 1.04 GB, free: 14.19 MB / 0.795 GB Notification: Performance of pre-optimization done (n=51): time 2.134e-06/0.9948, allocations: 0 / 1.04 GB, free: 14.19 MB / 0.795 GB Notification: Performance of matching and sorting (n=51): time 0.001214/0.996, allocations: 0.6092 MB / 1.04 GB, free: 13.58 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.9961, allocations: 115.2 kB / 1.04 GB, free: 13.44 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.9967, allocations: 494.6 kB / 1.041 GB, free: 12.95 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/0.9968, allocations: 45.7 kB / 1.041 GB, free: 12.9 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.9971, allocations: 344.2 kB / 1.041 GB, free: 12.55 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.9972, allocations: 157.8 kB / 1.041 GB, free: 12.4 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.9973, allocations: 12 kB / 1.041 GB, free: 12.39 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.9975, allocations: 374.8 kB / 1.042 GB, free: 12.01 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.9979, allocations: 209.1 kB / 1.042 GB, free: 11.81 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005325/0.9984, allocations: 391.5 kB / 1.042 GB, free: 11.35 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.9989, allocations: 271.7 kB / 1.042 GB, free: 11.08 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.9989, allocations: 0 / 1.042 GB, free: 11.08 MB / 0.795 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001285/1, allocations: 0.6793 MB / 1.043 GB, free: 10.39 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002088/1, allocations: 243.1 kB / 1.043 GB, free: 10.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/1, allocations: 4 kB / 1.043 GB, free: 10.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/1, allocations: 8 kB / 1.043 GB, free: 10.08 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/1.001, allocations: 111.8 kB / 1.043 GB, free: 9.969 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/1.001, allocations: 8 kB / 1.043 GB, free: 9.961 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/1.001, allocations: 129.3 kB / 1.044 GB, free: 9.836 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.242e-05/1.001, allocations: 27.98 kB / 1.044 GB, free: 9.809 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/1.002, allocations: 4 kB / 1.044 GB, free: 9.805 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000911/1.002, allocations: 0.5534 MB / 1.044 GB, free: 9.246 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.002, allocations: 11.94 kB / 1.044 GB, free: 9.234 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/1.002, allocations: 4 kB / 1.044 GB, free: 9.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/1.003, allocations: 99.77 kB / 1.044 GB, free: 9.133 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/1.003, allocations: 16.02 kB / 1.044 GB, free: 9.117 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/1.003, allocations: 125.7 kB / 1.044 GB, free: 8.996 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/1.003, allocations: 24 kB / 1.044 GB, free: 8.973 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.0004416/1.004, allocations: 290.7 kB / 1.045 GB, free: 8.68 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.74e-05/1.004, allocations: 55.34 kB / 1.045 GB, free: 8.625 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/1.004, allocations: 61.81 kB / 1.045 GB, free: 8.562 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/1.004, allocations: 4 kB / 1.045 GB, free: 8.559 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.004, allocations: 7.953 kB / 1.045 GB, free: 8.551 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/1.004, allocations: 0 / 1.045 GB, free: 8.551 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/1.006, allocations: 1.17 MB / 1.046 GB, free: 7.324 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.006, allocations: 0 / 1.046 GB, free: 7.324 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/1.006, allocations: 79.89 kB / 1.046 GB, free: 7.246 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/1.006, allocations: 11.94 kB / 1.046 GB, free: 7.234 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/1.006, allocations: 12 kB / 1.046 GB, free: 7.223 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/1.006, allocations: 0 / 1.046 GB, free: 7.223 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.007, allocations: 0 / 1.046 GB, free: 7.223 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/1.008, allocations: 0.7908 MB / 1.047 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/1.008, allocations: 140.3 kB / 1.047 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.159e-05/1.008, allocations: 11.95 kB / 1.047 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/1.008, allocations: 47.95 kB / 1.047 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.098e-05/1.008, allocations: 32.39 kB / 1.047 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/1.008, allocations: 23.98 kB / 1.047 GB, free: 6.145 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004243/1.009, allocations: 322.9 kB / 1.047 GB, free: 5.832 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/1.009, allocations: 0 / 1.047 GB, free: 5.832 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008163/1.01, allocations: 275 kB / 1.048 GB, free: 5.562 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.0002526/1.01, allocations: 153 kB / 1.048 GB, free: 5.406 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001657/1.012, allocations: 0.9615 MB / 1.049 GB, free: 4.41 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.012, allocations: 4 kB / 1.049 GB, free: 4.406 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003765/1.012, allocations: 214.4 kB / 1.049 GB, free: 4.195 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006708/1.013, allocations: 114.3 kB / 1.049 GB, free: 4.082 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/1.015, allocations: 1.27 MB / 1.05 GB, free: 2.785 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/1.015, allocations: 0.9063 MB / 1.051 GB, free: 1.848 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000298/1.015, allocations: 76.52 kB / 1.051 GB, free: 1.77 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/1.016, allocations: 43.42 kB / 1.051 GB, free: 1.727 MB / 0.795 GB Notification: Performance of SimCode: time 5.61e-07/1.016, allocations: 0 / 1.051 GB, free: 1.727 MB / 0.795 GB Notification: Performance of Templates: time 0.01454/1.03, allocations: 6.923 MB / 1.058 GB, free: 10.88 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches