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.0009445/0.0009445, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001088/0.001088, allocations: 169 kB / 23.02 MB, free: 1.547 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.9615/0.9615, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.033/2.033, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.223e-06/1.223e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/1.984e-05, allocations: 11.3 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 0.6674/0.6675, allocations: 272 MB / 1.144 GB, free: 84.3 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.1595/0.827, allocations: 95.44 MB / 1.237 GB, free: 19.5 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0458/0.8728, allocations: 1.714 MB / 1.239 GB, free: 18.56 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.02112/0.8939, allocations: 7.708 MB / 1.246 GB, free: 13.93 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.04969/0.9436, allocations: 22.58 MB / 1.268 GB, free: 11.73 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.03709/0.9807, allocations: 20.04 MB / 1.288 GB, free: 11.6 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.07125/1.052, allocations: 57.37 MB / 1.344 GB, free: 6.895 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03547/1.087, allocations: 16.89 MB / 1.36 GB, free: 5.875 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06201/1.149, allocations: 26.06 MB / 1.386 GB, free: 11.87 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02934/1.179, allocations: 16.44 MB / 1.402 GB, free: 11.34 MB / 1.151 GB Notification: Performance of NFPackage.collectConstants: time 0.00943/1.188, allocations: 2.172 MB / 1.404 GB, free: 9.172 MB / 1.151 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0245/1.213, allocations: 9.28 MB / 1.413 GB, free: 15.88 MB / 1.167 GB Notification: Performance of NFScalarize.scalarize: time 0.009653/1.222, allocations: 5.378 MB / 1.418 GB, free: 10.49 MB / 1.167 GB Notification: Performance of NFVerifyModel.verify: time 0.02073/1.243, allocations: 7.557 MB / 1.426 GB, free: 2.914 MB / 1.167 GB Notification: Performance of NFConvertDAE.convert: time 0.04501/1.288, allocations: 21.24 MB / 1.446 GB, free: 13.61 MB / 1.198 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/1.288, allocations: 4 kB / 1.446 GB, free: 13.6 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.094e-06/1.288, allocations: 0 / 1.446 GB, free: 13.6 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0008754/1.289, allocations: 0 / 1.446 GB, free: 13.6 MB / 1.198 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.03089/1.32, allocations: 21.2 MB / 1.467 GB, free: 8.148 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/1.32, allocations: 8.031 kB / 1.467 GB, free: 8.141 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007087/1.327, allocations: 3.508 MB / 1.471 GB, free: 4.617 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0388/1.366, allocations: 20.31 MB / 1.49 GB, free: 148 kB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008183/1.367, allocations: 1.005 MB / 1.491 GB, free: 15.13 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003748/1.37, allocations: 1.387 MB / 1.493 GB, free: 13.75 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03598/1.406, allocations: 12.88 MB / 1.505 GB, free: 15.21 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000657/1.407, allocations: 39.62 kB / 1.505 GB, free: 15.18 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002721/1.41, allocations: 0.5389 MB / 1.506 GB, free: 14.64 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004014/1.41, allocations: 344 kB / 1.506 GB, free: 14.3 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/1.428, allocations: 4.506 MB / 1.511 GB, free: 9.793 MB / 1.26 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.5847/2.013, allocations: 67.14 MB / 1.576 GB, free: 185.2 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003693/2.017, allocations: 2.635 MB / 1.579 GB, free: 184.2 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/2.018, allocations: 1.139 MB / 1.58 GB, free: 183.9 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04266/2.061, allocations: 21.98 MB / 1.601 GB, free: 182.6 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/2.061, allocations: 139.8 kB / 1.601 GB, free: 182.6 MB / 1.276 GB Notification: Performance of pre-optimization done (n=412): time 7.654e-06/2.061, allocations: 3.938 kB / 1.601 GB, free: 182.6 MB / 1.276 GB Notification: Performance of matching and sorting (n=412): time 0.0104/2.072, allocations: 4.035 MB / 1.605 GB, free: 182.5 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/2.072, allocations: 0.7906 MB / 1.606 GB, free: 181.6 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01949/2.091, allocations: 10.45 MB / 1.616 GB, free: 180.6 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.001175/2.092, allocations: 164.4 kB / 1.617 GB, free: 180.6 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.007727/2.1, allocations: 8.997 MB / 1.625 GB, free: 178.6 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.002573/2.103, allocations: 1.55 MB / 1.627 GB, free: 177.8 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003443/2.106, allocations: 1.747 MB / 1.629 GB, free: 177.6 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 7.786e-05/2.106, allocations: 481.4 kB / 1.629 GB, free: 177.2 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/2.108, allocations: 0.8117 MB / 1.63 GB, free: 177.2 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005118/2.113, allocations: 10.71 MB / 1.64 GB, free: 164.8 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006525/2.12, allocations: 7.153 MB / 1.647 GB, free: 158.6 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001558/2.12, allocations: 32.72 kB / 1.647 GB, free: 158.6 MB / 1.276 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.01443/2.134, allocations: 6.624 MB / 1.654 GB, free: 157.7 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 8.219e-05/2.135, allocations: 55 kB / 1.654 GB, free: 157.7 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/2.135, allocations: 113.1 kB / 1.654 GB, free: 157.7 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/2.135, allocations: 158.6 kB / 1.654 GB, free: 157.7 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004032/2.139, allocations: 1.686 MB / 1.656 GB, free: 157.7 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002412/2.139, allocations: 231.5 kB / 1.656 GB, free: 157.7 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007277/2.146, allocations: 0.8894 MB / 1.657 GB, free: 157.5 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/2.148, allocations: 467.4 kB / 1.657 GB, free: 157.5 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 (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.00458/2.152, allocations: 0.7748 MB / 1.658 GB, free: 157.3 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003486/2.156, allocations: 1.507 MB / 1.659 GB, free: 156.5 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007567/2.164, allocations: 4.7 MB / 1.664 GB, free: 156 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.449e-05/2.164, allocations: 82.83 kB / 1.664 GB, free: 156 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.718e-05/2.164, allocations: 10.62 kB / 1.664 GB, free: 156 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00168/2.165, allocations: 2.504 MB / 1.667 GB, free: 154.3 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0327/2.198, allocations: 19.09 MB / 1.685 GB, free: 148.7 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.845e-05/2.198, allocations: 31.47 kB / 1.685 GB, free: 148.7 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/2.2, allocations: 0.7743 MB / 1.686 GB, free: 148.7 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.587e-05/2.2, allocations: 51.31 kB / 1.686 GB, free: 148.7 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003998/2.2, allocations: 158.6 kB / 1.686 GB, free: 148.7 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.124e-05/2.2, allocations: 71.14 kB / 1.686 GB, free: 148.7 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.868e-05/2.201, allocations: 50.78 kB / 1.686 GB, free: 148.7 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/2.211, allocations: 8.658 MB / 1.695 GB, free: 143.2 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006147/2.217, allocations: 2.296 MB / 1.697 GB, free: 142.4 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002791/2.22, allocations: 155.5 kB / 1.697 GB, free: 142.4 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005896/2.226, allocations: 168 kB / 1.697 GB, free: 142.4 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009173/2.227, allocations: 417.7 kB / 1.698 GB, free: 142.3 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006575/2.227, allocations: 260.2 kB / 1.698 GB, free: 142.3 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.01278/2.24, allocations: 5.988 MB / 1.704 GB, free: 141.8 MB / 1.276 GB Notification: Performance of sort global known variables: time 2.8e-07/2.24, allocations: 0 / 1.704 GB, free: 141.8 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01392/2.254, allocations: 4.758 MB / 1.708 GB, free: 141 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.004701/2.259, allocations: 1.586 MB / 1.71 GB, free: 140.7 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.007467/2.266, allocations: 3.645 MB / 1.714 GB, free: 140.5 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 3.954e-05/2.266, allocations: 6.375 kB / 1.714 GB, free: 140.5 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.002797/2.269, allocations: 1.528 MB / 1.715 GB, free: 140.3 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02126/2.29, allocations: 5.81 MB / 1.721 GB, free: 136.8 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03424/2.325, allocations: 25.97 MB / 1.746 GB, free: 113.1 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003852/2.328, allocations: 3.012 MB / 1.749 GB, free: 111.2 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.007673/2.336, allocations: 2.467 MB / 1.751 GB, free: 109.5 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/2.338, allocations: 0.8618 MB / 1.752 GB, free: 108.8 MB / 1.276 GB Notification: Performance of SimCode: time 1.723e-06/2.338, allocations: 2.297 kB / 1.752 GB, free: 108.8 MB / 1.276 GB Notification: Performance of Templates: time 0.242/2.58, allocations: 215 MB / 1.962 GB, free: 10.75 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: 12.357411835808307]