Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 84.75 kB / 19.76 MB, free: 2.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 156.7 kB / 23.01 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.674/2.674, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 63.91 kB / 0.9515 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2803, allocations: 169.9 MB / 1.117 GB, free: 2.594 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.362/2.642, allocations: 1.259 GB / 2.376 GB, free: 3.738 MB / 1.795 GB Notification: Performance of NFInst.instExpressions: time 1.161/3.803, allocations: 312.4 MB / 2.681 GB, free: 104.7 MB / 1.826 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03844/3.842, allocations: 1.68 MB / 2.683 GB, free: 104.7 MB / 1.826 GB Notification: Performance of NFTyping.typeComponents: time 0.03136/3.873, allocations: 13.45 MB / 2.696 GB, free: 101 MB / 1.826 GB Notification: Performance of NFTyping.typeBindings: time 0.0789/3.952, allocations: 34.05 MB / 2.729 GB, free: 89.18 MB / 1.826 GB Notification: Performance of NFTyping.typeClassSections: time 0.0418/3.994, allocations: 20.21 MB / 2.749 GB, free: 75.59 MB / 1.826 GB Notification: Performance of NFFlatten.flatten: time 0.05889/4.053, allocations: 58.47 MB / 2.806 GB, free: 42.18 MB / 1.826 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02747/4.08, allocations: 16.69 MB / 2.823 GB, free: 30.52 MB / 1.826 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0471/4.127, allocations: 26.44 MB / 2.848 GB, free: 6.172 MB / 1.826 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03328/4.161, allocations: 17.91 MB / 2.866 GB, free: 5.504 MB / 1.842 GB Notification: Performance of NFPackage.collectConstants: time 0.006535/4.167, allocations: 2.133 MB / 2.868 GB, free: 3.371 MB / 1.842 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0404/4.207, allocations: 15.69 MB / 2.883 GB, free: 4.254 MB / 1.857 GB Notification: Performance of NFScalarize.scalarize: time 0.008341/4.216, allocations: 5.099 MB / 2.888 GB, free: 15.24 MB / 1.873 GB Notification: Performance of NFVerifyModel.verify: time 0.01917/4.235, allocations: 8.7 MB / 2.897 GB, free: 6.574 MB / 1.873 GB Notification: Performance of NFConvertDAE.convert: time 0.06863/4.304, allocations: 41.15 MB / 2.937 GB, free: 14.71 MB / 1.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/4.304, allocations: 3.938 kB / 2.937 GB, free: 14.71 MB / 1.92 GB Notification: Performance of FrontEnd: time 1.623e-06/4.304, allocations: 0 / 2.937 GB, free: 14.71 MB / 1.92 GB Notification: Performance of Transformations before backend: time 0.0007383/4.304, allocations: 0 / 2.937 GB, free: 14.71 MB / 1.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.04252/4.347, allocations: 21.47 MB / 2.958 GB, free: 9.363 MB / 1.936 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/4.347, allocations: 15.97 kB / 2.958 GB, free: 9.348 MB / 1.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006385/4.353, allocations: 2.355 MB / 2.96 GB, free: 6.98 MB / 1.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03654/4.39, allocations: 18.76 MB / 2.979 GB, free: 4.477 MB / 1.951 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008367/4.391, allocations: 0.9778 MB / 2.98 GB, free: 3.5 MB / 1.951 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00198/4.393, allocations: 1.295 MB / 2.981 GB, free: 2.207 MB / 1.951 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02756/4.42, allocations: 17.07 MB / 2.997 GB, free: 15.8 MB / 1.982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002774/4.42, allocations: 43.56 kB / 2.998 GB, free: 15.75 MB / 1.982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/4.422, allocations: 0.534 MB / 2.998 GB, free: 15.22 MB / 1.982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000327/4.422, allocations: 347.9 kB / 2.998 GB, free: 14.89 MB / 1.982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01876/4.441, allocations: 10.08 MB / 3.008 GB, free: 4.844 MB / 1.982 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.08081/4.522, allocations: 56.92 MB / 3.064 GB, free: 11.21 MB / 2.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00753/4.529, allocations: 4.349 MB / 3.068 GB, free: 6.633 MB / 2.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003547/4.533, allocations: 2.282 MB / 3.07 GB, free: 4.27 MB / 2.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08542/4.618, allocations: 22.91 MB / 3.093 GB, free: 13.37 MB / 2.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/4.618, allocations: 111.4 kB / 3.093 GB, free: 13.25 MB / 2.076 GB Notification: Performance of pre-optimization done (n=412): time 8.405e-06/4.618, allocations: 0 / 3.093 GB, free: 13.25 MB / 2.076 GB Notification: Performance of matching and sorting (n=412): time 0.01502/4.633, allocations: 6.681 MB / 3.099 GB, free: 6.57 MB / 2.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004745/4.634, allocations: 0.7865 MB / 3.1 GB, free: 5.605 MB / 2.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02195/4.656, allocations: 11.93 MB / 3.112 GB, free: 9.762 MB / 2.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0006805/4.656, allocations: 145.7 kB / 3.112 GB, free: 9.613 MB / 2.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.008511/4.665, allocations: 8.715 MB / 3.12 GB, free: 0.8828 MB / 2.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.00188/4.667, allocations: 1.53 MB / 3.122 GB, free: 15.37 MB / 2.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002717/4.669, allocations: 1.504 MB / 3.123 GB, free: 13.86 MB / 2.107 GB Notification: Performance of setup shared object (initialization): time 0.0001325/4.67, allocations: 301.1 kB / 3.124 GB, free: 13.56 MB / 2.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003728/4.673, allocations: 2.09 MB / 3.126 GB, free: 11.47 MB / 2.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009498/4.683, allocations: 9.595 MB / 3.135 GB, free: 15.48 MB / 2.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/4.693, allocations: 7.147 MB / 3.142 GB, free: 7.234 MB / 2.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.835e-05/4.693, allocations: 24 kB / 3.142 GB, free: 7.211 MB / 2.123 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01566/4.709, allocations: 8.048 MB / 3.15 GB, free: 15.17 MB / 2.139 GB Notification: Performance of prepare postOptimizeDAE: time 6.346e-05/4.709, allocations: 40 kB / 3.15 GB, free: 15.13 MB / 2.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/4.709, allocations: 80 kB / 3.15 GB, free: 15.05 MB / 2.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/4.709, allocations: 123.8 kB / 3.15 GB, free: 14.94 MB / 2.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004808/4.714, allocations: 1.459 MB / 3.152 GB, free: 13.48 MB / 2.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001883/4.714, allocations: 175.4 kB / 3.152 GB, free: 13.3 MB / 2.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00756/4.722, allocations: 0.7908 MB / 3.152 GB, free: 12.51 MB / 2.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007562/4.722, allocations: 395.9 kB / 3.153 GB, free: 12.12 MB / 2.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 367 * 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 (847): * Single equations (assignments): 847 * 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.006883/4.729, allocations: 3.573 MB / 3.156 GB, free: 8.535 MB / 2.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003627/4.733, allocations: 1.339 MB / 3.158 GB, free: 7.188 MB / 2.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/4.746, allocations: 7.456 MB / 3.165 GB, free: 15.77 MB / 2.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001299/4.746, allocations: 83.94 kB / 3.165 GB, free: 15.69 MB / 2.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.829e-05/4.746, allocations: 8 kB / 3.165 GB, free: 15.68 MB / 2.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004924/4.751, allocations: 3.889 MB / 3.169 GB, free: 11.48 MB / 2.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.042/4.793, allocations: 25.37 MB / 3.194 GB, free: 1.797 MB / 2.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.635e-05/4.793, allocations: 32 kB / 3.194 GB, free: 1.766 MB / 2.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002923/4.796, allocations: 0.78 MB / 3.194 GB, free: 0.9844 MB / 2.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-05/4.796, allocations: 56.41 kB / 3.194 GB, free: 0.9297 MB / 2.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003307/4.797, allocations: 156 kB / 3.195 GB, free: 0.7773 MB / 2.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.674e-05/4.797, allocations: 71.78 kB / 3.195 GB, free: 0.707 MB / 2.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.631e-05/4.797, allocations: 47.81 kB / 3.195 GB, free: 0.6602 MB / 2.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/4.814, allocations: 11.75 MB / 3.206 GB, free: 4.344 MB / 2.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005233/4.819, allocations: 2.223 MB / 3.208 GB, free: 2.109 MB / 2.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001944/4.821, allocations: 155.7 kB / 3.208 GB, free: 1.957 MB / 2.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005426/4.826, allocations: 168.1 kB / 3.209 GB, free: 1.793 MB / 2.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005511/4.827, allocations: 418.4 kB / 3.209 GB, free: 1.383 MB / 2.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005336/4.827, allocations: 259.9 kB / 3.209 GB, free: 1.129 MB / 2.186 GB Notification: Performance of sorting global known variables: time 0.01464/4.842, allocations: 8.049 MB / 3.217 GB, free: 9.16 MB / 2.201 GB Notification: Performance of sort global known variables: time 1.51e-07/4.842, allocations: 3.938 kB / 3.217 GB, free: 9.156 MB / 2.201 GB Notification: Performance of remove unused functions: time 0.01673/4.859, allocations: 5.882 MB / 3.223 GB, free: 3.258 MB / 2.201 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 ($cse12.phase,$cse12.region,$cse3.phase,$cse3.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.01042/4.869, allocations: 4.401 MB / 3.227 GB, free: 15.22 MB / 2.217 GB Notification: Performance of simCode: created initialization part: time 0.009929/4.879, allocations: 5.513 MB / 3.233 GB, free: 9.723 MB / 2.217 GB Notification: Performance of simCode: created event and clocks part: time 2.589e-05/4.879, allocations: 15.84 kB / 3.233 GB, free: 9.707 MB / 2.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00412/4.883, allocations: 2.47 MB / 3.235 GB, free: 7.25 MB / 2.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02743/4.911, allocations: 5.888 MB / 3.241 GB, free: 1.543 MB / 2.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9855/5.896, allocations: 27.9 MB / 3.268 GB, free: 1.099 GB / 2.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009216/5.905, allocations: 7.512 MB / 3.275 GB, free: 1.098 GB / 2.217 GB Notification: Performance of simCode: alias equations: time 0.008508/5.914, allocations: 2.583 MB / 3.278 GB, free: 1.098 GB / 2.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/5.916, allocations: 0.8362 MB / 3.279 GB, free: 1.098 GB / 2.217 GB Notification: Performance of SimCode: time 8.21e-07/5.916, allocations: 0 / 3.279 GB, free: 1.098 GB / 2.217 GB Notification: Performance of Templates: time 0.3555/6.271, allocations: 259.6 MB / 3.532 GB, free: 0.9222 GB / 2.217 GB " [Timeout remaining time 294] make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.13331438903697]