Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009957/0.0009957, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001347/0.001347, allocations: 173 kB / 23.5 MB, free: 1.059 MB / 18.57 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 0.9424/0.9424, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.058/2.058, allocations: 429.5 MB / 0.6736 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.276e-05, allocations: 9.547 kB / 0.8782 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.802/2.802, allocations: 1.43 GB / 2.308 GB, free: 64.24 MB / 1.479 GB Notification: Performance of NFInst.instExpressions: time 0.3403/3.142, allocations: 348.8 MB / 2.649 GB, free: 396 kB / 1.62 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05149/3.194, allocations: 1.72 MB / 2.651 GB, free: 14.65 MB / 1.635 GB Notification: Performance of NFTyping.typeComponents: time 0.03802/3.232, allocations: 13.62 MB / 2.664 GB, free: 0.9414 MB / 1.635 GB Notification: Performance of NFTyping.typeBindings: time 0.09054/3.323, allocations: 34.92 MB / 2.698 GB, free: 13.84 MB / 1.682 GB Notification: Performance of NFTyping.typeClassSections: time 0.04359/3.366, allocations: 22.34 MB / 2.72 GB, free: 7.465 MB / 1.698 GB Notification: Performance of NFFlatten.flatten: time 1.724/5.09, allocations: 58.86 MB / 2.777 GB, free: 35.36 MB / 1.729 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04159/5.132, allocations: 16.94 MB / 2.794 GB, free: 50.33 MB / 1.745 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08458/5.216, allocations: 37.31 MB / 2.83 GB, free: 50.27 MB / 1.745 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03248/5.249, allocations: 16.44 MB / 2.846 GB, free: 48.62 MB / 1.745 GB Notification: Performance of NFPackage.collectConstants: time 0.009177/5.258, allocations: 2.172 MB / 2.849 GB, free: 48.62 MB / 1.745 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03702/5.295, allocations: 15.78 MB / 2.864 GB, free: 48.01 MB / 1.745 GB Notification: Performance of NFScalarize.scalarize: time 0.01009/5.305, allocations: 5.374 MB / 2.869 GB, free: 46.95 MB / 1.745 GB Notification: Performance of NFVerifyModel.verify: time 0.02197/5.327, allocations: 7.557 MB / 2.877 GB, free: 46.05 MB / 1.745 GB Notification: Performance of NFConvertDAE.convert: time 0.06199/5.389, allocations: 26.03 MB / 2.902 GB, free: 44.48 MB / 1.745 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/5.389, allocations: 2.281 kB / 2.902 GB, free: 44.48 MB / 1.745 GB Notification: Performance of FrontEnd: time 2.605e-06/5.389, allocations: 0 / 2.902 GB, free: 44.48 MB / 1.745 GB Notification: Performance of Transformations before backend: time 0.001077/5.39, allocations: 0 / 2.902 GB, free: 44.48 MB / 1.745 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.04467/5.435, allocations: 22.12 MB / 2.924 GB, free: 34.97 MB / 1.745 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/5.435, allocations: 7.562 kB / 2.924 GB, free: 34.97 MB / 1.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009732/5.445, allocations: 3.508 MB / 2.927 GB, free: 33.69 MB / 1.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03349/5.478, allocations: 20.3 MB / 2.947 GB, free: 30.42 MB / 1.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001014/5.479, allocations: 1.003 MB / 2.948 GB, free: 30.39 MB / 1.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003605/5.483, allocations: 1.39 MB / 2.949 GB, free: 30.39 MB / 1.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02668/5.51, allocations: 12.88 MB / 2.962 GB, free: 24.14 MB / 1.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004876/5.51, allocations: 41.3 kB / 2.962 GB, free: 24.14 MB / 1.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002268/5.512, allocations: 0.5391 MB / 2.962 GB, free: 24.14 MB / 1.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002873/5.513, allocations: 354.7 kB / 2.963 GB, free: 24.13 MB / 1.745 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0126/5.525, allocations: 4.495 MB / 2.967 GB, free: 24 MB / 1.745 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.07164/5.597, allocations: 67.15 MB / 3.033 GB, free: 19.1 MB / 1.776 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004263/5.601, allocations: 2.651 MB / 3.035 GB, free: 18.07 MB / 1.776 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/5.603, allocations: 1.129 MB / 3.036 GB, free: 17.73 MB / 1.776 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04306/5.646, allocations: 22.92 MB / 3.059 GB, free: 16.1 MB / 1.776 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/5.646, allocations: 127.3 kB / 3.059 GB, free: 16.05 MB / 1.776 GB Notification: Performance of pre-optimization done (n=412): time 6.622e-06/5.646, allocations: 0 / 3.059 GB, free: 16.05 MB / 1.776 GB Notification: Performance of matching and sorting (n=412): time 0.01249/5.659, allocations: 4.036 MB / 3.063 GB, free: 15.14 MB / 1.776 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002371/5.659, allocations: 0.793 MB / 3.064 GB, free: 14.23 MB / 1.776 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01753/5.676, allocations: 10.45 MB / 3.074 GB, free: 13 MB / 1.776 GB Notification: Performance of collectPreVariables (initialization): time 0.001269/5.678, allocations: 163.5 kB / 3.074 GB, free: 12.97 MB / 1.776 GB Notification: Performance of collectInitialEqns (initialization): time 0.006528/5.684, allocations: 9.001 MB / 3.083 GB, free: 9.895 MB / 1.776 GB Notification: Performance of collectInitialBindings (initialization): time 0.002169/5.686, allocations: 1.544 MB / 3.084 GB, free: 8.918 MB / 1.776 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002949/5.689, allocations: 1.753 MB / 3.086 GB, free: 8.773 MB / 1.776 GB Notification: Performance of setup shared object (initialization): time 0.0001044/5.689, allocations: 476.8 kB / 3.086 GB, free: 8.305 MB / 1.776 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/5.691, allocations: 0.8139 MB / 3.087 GB, free: 8.289 MB / 1.776 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006258/5.697, allocations: 10.71 MB / 3.098 GB, free: 11.95 MB / 1.792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006935/5.704, allocations: 7.159 MB / 3.105 GB, free: 5.699 MB / 1.792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.792e-05/5.704, allocations: 35.22 kB / 3.105 GB, free: 5.699 MB / 1.792 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.01372/5.718, allocations: 6.606 MB / 3.111 GB, free: 4.785 MB / 1.792 GB Notification: Performance of prepare postOptimizeDAE: time 6.213e-05/5.718, allocations: 54.56 kB / 3.111 GB, free: 4.785 MB / 1.792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/5.718, allocations: 117.7 kB / 3.111 GB, free: 4.781 MB / 1.792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001405/5.719, allocations: 158.4 kB / 3.111 GB, free: 4.781 MB / 1.792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003352/5.722, allocations: 1.687 MB / 3.113 GB, free: 4.781 MB / 1.792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001588/5.722, allocations: 230 kB / 3.113 GB, free: 4.781 MB / 1.792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008919/5.731, allocations: 0.9015 MB / 3.114 GB, free: 4.328 MB / 1.792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/5.732, allocations: 470.7 kB / 3.115 GB, free: 4.328 MB / 1.792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * 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 (967): * Single equations (assignments): 967 * 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.004843/5.737, allocations: 0.7573 MB / 3.115 GB, free: 4.094 MB / 1.792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004409/5.742, allocations: 1.508 MB / 3.117 GB, free: 3.324 MB / 1.792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008342/5.75, allocations: 4.7 MB / 3.121 GB, free: 2.809 MB / 1.792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001109/5.75, allocations: 79.86 kB / 3.122 GB, free: 2.809 MB / 1.792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.226e-05/5.75, allocations: 11.81 kB / 3.122 GB, free: 2.809 MB / 1.792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002347/5.753, allocations: 2.504 MB / 3.124 GB, free: 0.5664 MB / 1.792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04391/5.796, allocations: 19.13 MB / 3.143 GB, free: 3.012 MB / 1.807 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.572e-05/5.797, allocations: 28 kB / 3.143 GB, free: 2.984 MB / 1.807 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/5.799, allocations: 0.7796 MB / 3.143 GB, free: 2.281 MB / 1.807 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.276e-05/5.799, allocations: 59.94 kB / 3.144 GB, free: 2.223 MB / 1.807 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007079/5.8, allocations: 157.6 kB / 3.144 GB, free: 2.133 MB / 1.807 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.954e-05/5.8, allocations: 66.33 kB / 3.144 GB, free: 2.082 MB / 1.807 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.017e-05/5.8, allocations: 48.28 kB / 3.144 GB, free: 2.047 MB / 1.807 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/5.815, allocations: 8.66 MB / 3.152 GB, free: 9.371 MB / 1.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007193/5.822, allocations: 2.299 MB / 3.155 GB, free: 7.66 MB / 1.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003423/5.825, allocations: 153.8 kB / 3.155 GB, free: 7.574 MB / 1.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00675/5.832, allocations: 174.8 kB / 3.155 GB, free: 7.469 MB / 1.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/5.833, allocations: 422.4 kB / 3.155 GB, free: 7.129 MB / 1.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007773/5.834, allocations: 261 kB / 3.155 GB, free: 6.918 MB / 1.823 GB Notification: Performance of sorting global known variables: time 0.01445/5.849, allocations: 5.992 MB / 3.161 GB, free: 2.109 MB / 1.823 GB Notification: Performance of sort global known variables: time 2.3e-07/5.849, allocations: 0 / 3.161 GB, free: 2.109 MB / 1.823 GB Notification: Performance of remove unused functions: time 0.02591/5.875, allocations: 5.973 MB / 3.167 GB, free: 12.62 MB / 1.839 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.01463/5.889, allocations: 4.638 MB / 3.172 GB, free: 8.609 MB / 1.839 GB Notification: Performance of simCode: created initialization part: time 0.008781/5.898, allocations: 3.649 MB / 3.175 GB, free: 5.758 MB / 1.839 GB Notification: Performance of simCode: created event and clocks part: time 3.672e-05/5.898, allocations: 11.91 kB / 3.175 GB, free: 5.746 MB / 1.839 GB Notification: Performance of simCode: created simulation system equations: time 0.003091/5.901, allocations: 1.511 MB / 3.177 GB, free: 4.559 MB / 1.839 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02519/5.926, allocations: 5.813 MB / 3.182 GB, free: 15.63 MB / 1.854 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05323/5.98, allocations: 25.97 MB / 3.208 GB, free: 5 MB / 1.87 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006893/5.986, allocations: 3.013 MB / 3.211 GB, free: 1.961 MB / 1.87 GB Notification: Performance of simCode: alias equations: time 0.01054/5.997, allocations: 2.468 MB / 3.213 GB, free: 15.57 MB / 1.886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00294/6, allocations: 0.8642 MB / 3.214 GB, free: 14.71 MB / 1.886 GB Notification: Performance of SimCode: time 2.474e-06/6, allocations: 4 kB / 3.214 GB, free: 14.71 MB / 1.886 GB Notification: Performance of Templates: time 0.321/6.321, allocations: 260.2 MB / 3.468 GB, free: 15.37 MB / 2.136 GB " [Timeout remaining time 294] make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.15174829494208]