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.00104/0.00104, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001034/0.001034, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9557/0.9557, allocations: 177.2 MB / 204.5 MB, free: 5.496 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.079/2.079, allocations: 429.5 MB / 0.6743 GB, free: 3.934 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.292e-06/1.292e-06, allocations: 0 / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.364e-05, allocations: 3.188 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 0.7433/0.7433, allocations: 265.9 MB / 1.139 GB, free: 87.3 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.1474/0.8907, allocations: 95.06 MB / 1.232 GB, free: 23.36 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04802/0.9387, allocations: 1.711 MB / 1.234 GB, free: 22.43 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.02177/0.9605, allocations: 7.697 MB / 1.241 GB, free: 18.11 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.05663/1.017, allocations: 22.66 MB / 1.263 GB, free: 15.99 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.04155/1.059, allocations: 20.08 MB / 1.283 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.08176/1.14, allocations: 57.37 MB / 1.339 GB, free: 12.01 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04272/1.183, allocations: 16.9 MB / 1.355 GB, free: 10.98 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07018/1.253, allocations: 27.14 MB / 1.382 GB, free: 15.89 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02956/1.283, allocations: 16.23 MB / 1.398 GB, free: 15.57 MB / 1.151 GB Notification: Performance of NFPackage.collectConstants: time 0.008741/1.292, allocations: 2.102 MB / 1.4 GB, free: 13.47 MB / 1.151 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02298/1.315, allocations: 9.163 MB / 1.409 GB, free: 4.301 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 0.008809/1.323, allocations: 5.253 MB / 1.414 GB, free: 15.03 MB / 1.167 GB Notification: Performance of NFVerifyModel.verify: time 0.02176/1.345, allocations: 7.409 MB / 1.421 GB, free: 7.602 MB / 1.167 GB Notification: Performance of NFConvertDAE.convert: time 0.04736/1.393, allocations: 20.93 MB / 1.442 GB, free: 2.609 MB / 1.182 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/1.393, allocations: 0 / 1.442 GB, free: 2.609 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.883e-06/1.393, allocations: 0 / 1.442 GB, free: 2.609 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.001026/1.394, allocations: 3.938 kB / 1.442 GB, free: 2.605 MB / 1.182 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.0353/1.429, allocations: 21.08 MB / 1.462 GB, free: 13.26 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.429, allocations: 12.03 kB / 1.462 GB, free: 13.25 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008492/1.437, allocations: 3.5 MB / 1.466 GB, free: 9.734 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0271/1.465, allocations: 19.15 MB / 1.484 GB, free: 6.422 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007971/1.465, allocations: 1.001 MB / 1.485 GB, free: 5.418 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002332/1.468, allocations: 1.371 MB / 1.487 GB, free: 4.047 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01938/1.487, allocations: 12.18 MB / 1.498 GB, free: 6.219 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000338/1.487, allocations: 39.62 kB / 1.498 GB, free: 6.18 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00144/1.489, allocations: 0.5312 MB / 1.499 GB, free: 5.648 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003158/1.489, allocations: 355.8 kB / 1.499 GB, free: 5.301 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007397/1.497, allocations: 3.671 MB / 1.503 GB, free: 1.625 MB / 1.245 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.596/2.093, allocations: 64.57 MB / 1.566 GB, free: 186.8 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/2.095, allocations: 2.452 MB / 1.568 GB, free: 185.9 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009428/2.096, allocations: 1.017 MB / 1.569 GB, free: 185.5 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03327/2.129, allocations: 19.13 MB / 1.588 GB, free: 184.6 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/2.129, allocations: 130.2 kB / 1.588 GB, free: 184.5 MB / 1.276 GB Notification: Performance of pre-optimization done (n=412): time 6.232e-06/2.129, allocations: 0 / 1.588 GB, free: 184.5 MB / 1.276 GB Notification: Performance of matching and sorting (n=412): time 0.00861/2.138, allocations: 3.728 MB / 1.592 GB, free: 184.5 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/2.138, allocations: 0.7914 MB / 1.593 GB, free: 183.6 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01584/2.154, allocations: 10.17 MB / 1.603 GB, free: 182.6 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.0007074/2.155, allocations: 161.3 kB / 1.603 GB, free: 182.6 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.006077/2.161, allocations: 9.077 MB / 1.612 GB, free: 180.9 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.001198/2.162, allocations: 1.555 MB / 1.613 GB, free: 180.2 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00155/2.164, allocations: 1.756 MB / 1.615 GB, free: 180 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 4.252e-05/2.164, allocations: 482 kB / 1.615 GB, free: 179.5 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009202/2.165, allocations: 0.6299 MB / 1.616 GB, free: 179.5 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003052/2.168, allocations: 9.654 MB / 1.625 GB, free: 168.3 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/2.171, allocations: 6.887 MB / 1.632 GB, free: 162.1 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.704e-05/2.171, allocations: 36.31 kB / 1.632 GB, free: 162.1 MB / 1.276 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.007076/2.179, allocations: 6.182 MB / 1.638 GB, free: 161.2 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/2.179, allocations: 62.62 kB / 1.638 GB, free: 161.2 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-05/2.179, allocations: 117.2 kB / 1.638 GB, free: 161.2 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.771e-05/2.179, allocations: 161.5 kB / 1.638 GB, free: 161.2 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002586/2.181, allocations: 1.67 MB / 1.64 GB, free: 161.2 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001243/2.181, allocations: 234.6 kB / 1.64 GB, free: 161.2 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003955/2.185, allocations: 0.8761 MB / 1.641 GB, free: 161 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003713/2.186, allocations: 407.4 kB / 1.642 GB, free: 161 MB / 1.276 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 (senDifEntFlo.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo1.state_b1_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.002987/2.189, allocations: 0.765 MB / 1.642 GB, free: 160.8 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/2.19, allocations: 1.506 MB / 1.644 GB, free: 160 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004722/2.195, allocations: 4.356 MB / 1.648 GB, free: 159.5 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.283e-05/2.195, allocations: 89.77 kB / 1.648 GB, free: 159.5 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/2.195, allocations: 9.312 kB / 1.648 GB, free: 159.5 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001211/2.196, allocations: 2.349 MB / 1.65 GB, free: 157.8 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/2.211, allocations: 16.39 MB / 1.666 GB, free: 152.4 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-05/2.211, allocations: 32.62 kB / 1.666 GB, free: 152.4 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/2.212, allocations: 0.7726 MB / 1.667 GB, free: 152.4 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.817e-05/2.212, allocations: 54.81 kB / 1.667 GB, free: 152.4 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/2.213, allocations: 153.8 kB / 1.667 GB, free: 152.4 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.054e-05/2.213, allocations: 69.42 kB / 1.667 GB, free: 152.4 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.71e-05/2.213, allocations: 53.5 kB / 1.667 GB, free: 152.4 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004905/2.218, allocations: 8.236 MB / 1.676 GB, free: 146.9 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002277/2.22, allocations: 2.273 MB / 1.678 GB, free: 146.1 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007407/2.221, allocations: 156.4 kB / 1.678 GB, free: 146.1 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/2.223, allocations: 161.7 kB / 1.678 GB, free: 146.1 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/2.223, allocations: 411.2 kB / 1.678 GB, free: 146 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/2.223, allocations: 227.9 kB / 1.679 GB, free: 146 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.004102/2.227, allocations: 5.444 MB / 1.684 GB, free: 145.6 MB / 1.276 GB Notification: Performance of sort global known variables: time 2.21e-07/2.227, allocations: 0 / 1.684 GB, free: 145.6 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.00784/2.235, allocations: 4.753 MB / 1.689 GB, free: 144.7 MB / 1.276 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.002712/2.238, allocations: 1.622 MB / 1.69 GB, free: 144.4 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.003633/2.242, allocations: 3.319 MB / 1.693 GB, free: 144.2 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/2.242, allocations: 7.438 kB / 1.693 GB, free: 144.2 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/2.243, allocations: 1.39 MB / 1.695 GB, free: 144.1 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0117/2.255, allocations: 5.801 MB / 1.7 GB, free: 143.2 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02726/2.282, allocations: 25.89 MB / 1.726 GB, free: 124.1 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002342/2.284, allocations: 3.013 MB / 1.729 GB, free: 122.2 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.006573/2.291, allocations: 2.074 MB / 1.731 GB, free: 120.7 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006216/2.297, allocations: 4.373 MB / 1.735 GB, free: 117.5 MB / 1.276 GB Notification: Performance of SimCode: time 2.084e-06/2.297, allocations: 0 / 1.735 GB, free: 117.5 MB / 1.276 GB Notification: Performance of Templates: time 0.247/2.544, allocations: 241.4 MB / 1.971 GB, free: 0.9492 MB / 1.385 GB " [Timeout remaining time 297] 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: 14.310325300786644]