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.0008449/0.000845, allocations: 89.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 187.4 kB / 16.92 MB, free: 6.68 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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.156 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.644/2.644, allocations: 437.8 MB / 0.7128 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003731, allocations: 8 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7919/0.7923, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.006537/0.7989, allocations: 5.484 MB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005517/0.8045, allocations: 2.751 MB / 1.032 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.806, allocations: 39.81 kB / 1.032 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004212/0.8064, allocations: 87.16 kB / 1.032 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000571/0.807, allocations: 75.38 kB / 1.032 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.8083, allocations: 426.9 kB / 1.032 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.8095, allocations: 0.8098 MB / 1.033 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007151/0.8102, allocations: 410.3 kB / 1.034 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004201/0.8106, allocations: 222.8 kB / 1.034 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004348/0.8111, allocations: 258.2 kB / 1.034 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.8112, allocations: 20 kB / 1.034 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.8115, allocations: 115.9 kB / 1.034 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.8116, allocations: 103.4 kB / 1.034 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.812, allocations: 307.7 kB / 1.034 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000739/0.8127, allocations: 0.7499 MB / 1.035 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8127, allocations: 4 kB / 1.035 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.674e-06/0.8127, allocations: 0 / 1.035 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.8127, allocations: 0 / 1.035 GB, free: 3.957 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.001647/0.8144, allocations: 0.9652 MB / 1.036 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.8144, allocations: 8.031 kB / 1.036 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.8146, allocations: 91.89 kB / 1.036 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/0.8152, allocations: 486.8 kB / 1.037 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.8153, allocations: 53.69 kB / 1.037 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.8154, allocations: 72.31 kB / 1.037 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.8164, allocations: 0.612 MB / 1.037 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.8164, allocations: 192 / 1.037 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/0.8165, allocations: 31.92 kB / 1.037 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.8165, allocations: 20 kB / 1.038 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009246/0.8174, allocations: 457 kB / 1.038 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00322/0.8207, allocations: 2.316 MB / 1.04 GB, free: 14.63 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.8228, allocations: 0.9446 MB / 1.041 GB, free: 13.64 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004508/0.8233, allocations: 258 kB / 1.041 GB, free: 13.39 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.8233, allocations: 8.375 kB / 1.041 GB, free: 13.38 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005321/0.8239, allocations: 269.3 kB / 1.042 GB, free: 13.1 MB / 0.795 GB Notification: Performance of pre-optimization done (n=51): time 2.634e-06/0.8239, allocations: 0 / 1.042 GB, free: 13.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=51): time 0.001307/0.8252, allocations: 0.6131 MB / 1.042 GB, free: 12.49 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.8253, allocations: 119.2 kB / 1.042 GB, free: 12.35 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005745/0.8258, allocations: 494.6 kB / 1.043 GB, free: 11.86 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.871e-05/0.8259, allocations: 41.7 kB / 1.043 GB, free: 11.81 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.8262, allocations: 344.2 kB / 1.043 GB, free: 11.47 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.8263, allocations: 165.6 kB / 1.043 GB, free: 11.3 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.921e-05/0.8264, allocations: 61.69 kB / 1.043 GB, free: 11.24 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.8266, allocations: 374.8 kB / 1.044 GB, free: 10.86 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/0.8271, allocations: 213.1 kB / 1.044 GB, free: 10.66 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.8277, allocations: 403.4 kB / 1.044 GB, free: 10.18 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009419/0.8287, allocations: 0.5455 MB / 1.045 GB, free: 9.582 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.8287, allocations: 3.938 kB / 1.045 GB, free: 9.578 MB / 0.795 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001317/0.83, allocations: 0.6837 MB / 1.046 GB, free: 8.879 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.8302, allocations: 242.7 kB / 1.046 GB, free: 8.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.8302, allocations: 8 kB / 1.046 GB, free: 8.574 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.8303, allocations: 8 kB / 1.046 GB, free: 8.566 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.8307, allocations: 107.8 kB / 1.046 GB, free: 8.461 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.5e-05/0.8307, allocations: 8 kB / 1.046 GB, free: 8.453 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005946/0.8313, allocations: 131.3 kB / 1.046 GB, free: 8.324 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.8314, allocations: 27.98 kB / 1.046 GB, free: 8.297 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.8314, allocations: 7.938 kB / 1.046 GB, free: 8.289 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009613/0.8323, allocations: 0.5573 MB / 1.047 GB, free: 7.723 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.8324, allocations: 8.5 kB / 1.047 GB, free: 7.715 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.8324, allocations: 8 kB / 1.047 GB, free: 7.707 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.8327, allocations: 99.77 kB / 1.047 GB, free: 7.609 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.8327, allocations: 8 kB / 1.047 GB, free: 7.602 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/0.8333, allocations: 121 kB / 1.047 GB, free: 7.484 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.8333, allocations: 24 kB / 1.047 GB, free: 7.461 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,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.0003457/0.8337, allocations: 279 kB / 1.047 GB, free: 7.176 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.888e-05/0.8338, allocations: 67.19 kB / 1.047 GB, free: 7.109 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.8339, allocations: 65.81 kB / 1.047 GB, free: 7.039 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.8339, allocations: 4 kB / 1.047 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.834, allocations: 3.984 kB / 1.047 GB, free: 7.031 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.834, allocations: 8 kB / 1.047 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.8358, allocations: 1.166 MB / 1.048 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.8358, allocations: 3.984 kB / 1.048 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/0.8362, allocations: 87.89 kB / 1.049 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.8362, allocations: 0 / 1.049 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.8362, allocations: 8 kB / 1.049 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.8362, allocations: 4 kB / 1.049 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8363, allocations: 3.938 kB / 1.049 GB, free: 5.699 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.8376, allocations: 0.7986 MB / 1.049 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.8378, allocations: 136.3 kB / 1.049 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/0.8378, allocations: 12 kB / 1.049 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.8381, allocations: 43.95 kB / 1.049 GB, free: 4.676 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.8383, allocations: 36.39 kB / 1.05 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.8383, allocations: 15.98 kB / 1.05 GB, free: 4.625 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004372/0.8388, allocations: 330.9 kB / 1.05 GB, free: 4.305 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8388, allocations: 0 / 1.05 GB, free: 4.305 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008764/0.8396, allocations: 267 kB / 1.05 GB, free: 4.043 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 (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.0002648/0.8399, allocations: 163 kB / 1.05 GB, free: 3.875 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.8416, allocations: 0.9683 MB / 1.051 GB, free: 2.875 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.8416, allocations: 0 / 1.051 GB, free: 2.875 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.842, allocations: 223.5 kB / 1.051 GB, free: 2.652 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007323/0.8428, allocations: 112.8 kB / 1.052 GB, free: 2.547 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.8449, allocations: 1.377 MB / 1.053 GB, free: 1.141 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.8454, allocations: 0.9102 MB / 1.054 GB, free: 208 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.8455, allocations: 47.42 kB / 1.054 GB, free: 160 kB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.8455, allocations: 3.938 kB / 1.054 GB, free: 156 kB / 0.795 GB Notification: Performance of Templates: time 0.01277/0.8583, allocations: 7.817 MB / 1.061 GB, free: 8.375 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/jenkins1/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