Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005087/0.005087, allocations: 96.89 kB / 15.73 MB, free: 6 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.001216/0.001216, allocations: 189 kB / 16.67 MB, free: 5.93 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 65.78 kB / 0.9509 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2686, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.383/3.651, allocations: 1.349 GB / 2.437 GB, free: 96.34 MB / 1.623 GB Notification: Performance of NFInst.instExpressions: time 0.338/3.989, allocations: 330.5 MB / 2.759 GB, free: 58.69 MB / 1.623 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0437/4.033, allocations: 1.162 MB / 2.761 GB, free: 58.69 MB / 1.623 GB Notification: Performance of NFTyping.typeComponents: time 0.03492/4.068, allocations: 13.21 MB / 2.773 GB, free: 50.39 MB / 1.623 GB Notification: Performance of NFTyping.typeBindings: time 0.08699/4.155, allocations: 33.81 MB / 2.806 GB, free: 21.11 MB / 1.623 GB Notification: Performance of NFTyping.typeClassSections: time 0.04342/4.199, allocations: 18.9 MB / 2.825 GB, free: 3.965 MB / 1.623 GB Notification: Performance of NFFlatten.flatten: time 0.08227/4.281, allocations: 56.71 MB / 2.88 GB, free: 12.8 MB / 1.686 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04143/4.322, allocations: 22.24 MB / 2.902 GB, free: 6.668 MB / 1.701 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06476/4.387, allocations: 25.43 MB / 2.927 GB, free: 14.68 MB / 1.732 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03704/4.424, allocations: 17.58 MB / 2.944 GB, free: 14.28 MB / 1.748 GB Notification: Performance of NFPackage.collectConstants: time 0.009441/4.434, allocations: 2.055 MB / 2.946 GB, free: 12.22 MB / 1.748 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04651/4.48, allocations: 17.91 MB / 2.964 GB, free: 11.03 MB / 1.764 GB Notification: Performance of NFScalarize.scalarize: time 0.008891/4.489, allocations: 4.724 MB / 2.968 GB, free: 6.352 MB / 1.764 GB Notification: Performance of NFVerifyModel.verify: time 0.03158/4.521, allocations: 10.87 MB / 2.979 GB, free: 11.52 MB / 1.779 GB Notification: Performance of NFConvertDAE.convert: time 0.101/4.622, allocations: 41.24 MB / 3.019 GB, free: 3.527 MB / 1.811 GB Notification: Performance of FrontEnd - DAE generated: time 9.988e-06/4.622, allocations: 0 / 3.019 GB, free: 3.527 MB / 1.811 GB Notification: Performance of FrontEnd: time 2.024e-06/4.622, allocations: 0 / 3.019 GB, free: 3.527 MB / 1.811 GB Notification: Performance of Transformations before backend: time 0.001579/4.624, allocations: 0 / 3.019 GB, free: 3.527 MB / 1.811 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.05223/4.676, allocations: 20.98 MB / 3.04 GB, free: 14.58 MB / 1.842 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/4.676, allocations: 8.031 kB / 3.04 GB, free: 14.57 MB / 1.842 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009486/4.685, allocations: 2.286 MB / 3.042 GB, free: 12.27 MB / 1.842 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03648/4.722, allocations: 18.41 MB / 3.06 GB, free: 10.17 MB / 1.857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000977/4.723, allocations: 0.9475 MB / 3.061 GB, free: 9.223 MB / 1.857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003425/4.726, allocations: 1.252 MB / 3.062 GB, free: 7.973 MB / 1.857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0371/4.764, allocations: 14.09 MB / 3.076 GB, free: 9.105 MB / 1.873 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005716/4.764, allocations: 47.58 kB / 3.076 GB, free: 9.059 MB / 1.873 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002823/4.767, allocations: 0.5109 MB / 3.076 GB, free: 8.551 MB / 1.873 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003553/4.767, allocations: 335.9 kB / 3.077 GB, free: 8.223 MB / 1.873 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02036/4.788, allocations: 9.688 MB / 3.086 GB, free: 14.57 MB / 1.889 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6545/5.442, allocations: 72.35 MB / 3.157 GB, free: 0.9582 GB / 1.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008046/5.45, allocations: 4.56 MB / 3.161 GB, free: 0.9576 GB / 1.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003602/5.454, allocations: 2.434 MB / 3.163 GB, free: 0.9573 GB / 1.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08221/5.536, allocations: 51.68 MB / 3.214 GB, free: 0.9209 GB / 1.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/5.536, allocations: 121.7 kB / 3.214 GB, free: 0.9209 GB / 1.92 GB Notification: Performance of pre-optimization done (n=412): time 1.017e-05/5.536, allocations: 3.844 kB / 3.214 GB, free: 0.9209 GB / 1.92 GB Notification: Performance of matching and sorting (n=412): time 0.01886/5.555, allocations: 7.041 MB / 3.221 GB, free: 0.9191 GB / 1.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002032/5.555, allocations: 0.79 MB / 3.222 GB, free: 0.9182 GB / 1.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02904/5.585, allocations: 16.21 MB / 3.238 GB, free: 0.9124 GB / 1.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001052/5.586, allocations: 143.6 kB / 3.238 GB, free: 0.9123 GB / 1.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.007888/5.594, allocations: 8.315 MB / 3.246 GB, free: 0.9057 GB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001823/5.595, allocations: 1.525 MB / 3.247 GB, free: 0.9046 GB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003399/5.599, allocations: 1.421 MB / 3.249 GB, free: 0.9038 GB / 1.92 GB Notification: Performance of setup shared object (initialization): time 4.006e-05/5.599, allocations: 305.1 kB / 3.249 GB, free: 0.9035 GB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003253/5.602, allocations: 2.009 MB / 3.251 GB, free: 0.9025 GB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00555/5.608, allocations: 4.934 MB / 3.256 GB, free: 0.898 GB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007648/5.615, allocations: 6.675 MB / 3.262 GB, free: 0.893 GB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.971e-05/5.615, allocations: 19.66 kB / 3.262 GB, free: 0.893 GB / 1.92 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01539/5.631, allocations: 8.04 MB / 3.27 GB, free: 0.889 GB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.76e-05/5.631, allocations: 35.59 kB / 3.27 GB, free: 0.889 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.504e-05/5.631, allocations: 71.09 kB / 3.27 GB, free: 0.889 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001085/5.631, allocations: 106.8 kB / 3.27 GB, free: 0.889 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004335/5.635, allocations: 1.371 MB / 3.272 GB, free: 0.8887 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000144/5.636, allocations: 155.8 kB / 3.272 GB, free: 0.8887 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01121/5.647, allocations: 1.265 MB / 3.273 GB, free: 0.8878 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001332/5.648, allocations: 373.1 kB / 3.273 GB, free: 0.8877 GB / 1.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 321 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (801): * Single equations (assignments): 801 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.007616/5.656, allocations: 3.41 MB / 3.277 GB, free: 0.8856 GB / 1.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005316/5.661, allocations: 1.708 MB / 3.278 GB, free: 0.8847 GB / 1.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/5.676, allocations: 7.52 MB / 3.286 GB, free: 0.8808 GB / 1.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001643/5.676, allocations: 84.88 kB / 3.286 GB, free: 0.8808 GB / 1.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-05/5.676, allocations: 7.281 kB / 3.286 GB, free: 0.8808 GB / 1.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003818/5.68, allocations: 3.849 MB / 3.29 GB, free: 0.8779 GB / 1.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0436/5.724, allocations: 28.5 MB / 3.317 GB, free: 0.8575 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000111/5.724, allocations: 32 kB / 3.317 GB, free: 0.8574 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002698/5.726, allocations: 0.7684 MB / 3.318 GB, free: 0.8567 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.944e-05/5.727, allocations: 52 kB / 3.318 GB, free: 0.8566 GB / 1.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004661/5.727, allocations: 158.7 kB / 3.318 GB, free: 0.8565 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.525e-05/5.727, allocations: 71.73 kB / 3.318 GB, free: 0.8564 GB / 1.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.787e-05/5.727, allocations: 47.8 kB / 3.319 GB, free: 0.8564 GB / 1.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/5.741, allocations: 12 MB / 3.33 GB, free: 0.8441 GB / 1.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008065/5.749, allocations: 2.909 MB / 3.333 GB, free: 0.8413 GB / 1.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005246/5.755, allocations: 151 kB / 3.333 GB, free: 0.8411 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008858/5.764, allocations: 219 kB / 3.333 GB, free: 0.8409 GB / 1.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006701/5.764, allocations: 405.9 kB / 3.334 GB, free: 0.8405 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006573/5.765, allocations: 259.8 kB / 3.334 GB, free: 0.8403 GB / 1.92 GB Notification: Performance of sorting global known variables: time 0.01971/5.785, allocations: 11.54 MB / 3.345 GB, free: 0.8291 GB / 1.92 GB Notification: Performance of sort global known variables: time 3.61e-07/5.785, allocations: 0 / 3.345 GB, free: 0.8291 GB / 1.92 GB Notification: Performance of remove unused functions: time 0.01718/5.802, allocations: 5.329 MB / 3.351 GB, free: 0.8239 GB / 1.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse16.phase,$cse16.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * When equations: 0 * 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.01006/5.812, allocations: 4.563 MB / 3.355 GB, free: 0.8199 GB / 1.92 GB Notification: Performance of simCode: created initialization part: time 0.008475/5.82, allocations: 5.511 MB / 3.36 GB, free: 0.8145 GB / 1.92 GB Notification: Performance of simCode: created event and clocks part: time 3.404e-05/5.82, allocations: 8 kB / 3.36 GB, free: 0.8145 GB / 1.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003567/5.824, allocations: 2.583 MB / 3.363 GB, free: 0.812 GB / 1.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05058/5.875, allocations: 9.938 MB / 3.373 GB, free: 0.8028 GB / 1.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04128/5.916, allocations: 27.93 MB / 3.4 GB, free: 0.7751 GB / 1.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007863/5.924, allocations: 7.426 MB / 3.407 GB, free: 0.7678 GB / 1.92 GB Notification: Performance of simCode: alias equations: time 0.01235/5.936, allocations: 3.157 MB / 3.41 GB, free: 0.7649 GB / 1.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002769/5.939, allocations: 1.05 MB / 3.411 GB, free: 0.7639 GB / 1.92 GB Notification: Performance of SimCode: time 1.262e-06/5.939, allocations: 0 / 3.411 GB, free: 0.7639 GB / 1.92 GB Notification: Performance of Templates: time 0.4254/6.364, allocations: 355.1 MB / 3.758 GB, free: 429.4 MB / 1.92 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches