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.001948/0.001948, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002489/0.002489, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.468/1.468, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.719/2.719, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.2e-05, allocations: 6.875 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.272/3.272, allocations: 1.247 GB / 2.034 GB, free: 83.88 MB / 1.401 GB Notification: Performance of NFInst.instExpressions: time 0.4008/3.672, allocations: 311.4 MB / 2.338 GB, free: 46.69 MB / 1.401 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05221/3.725, allocations: 1.696 MB / 2.339 GB, free: 46.69 MB / 1.401 GB Notification: Performance of NFTyping.typeComponents: time 0.038/3.763, allocations: 13.6 MB / 2.353 GB, free: 38.09 MB / 1.401 GB Notification: Performance of NFTyping.typeBindings: time 0.09815/3.861, allocations: 34.89 MB / 2.387 GB, free: 13.39 MB / 1.401 GB Notification: Performance of NFTyping.typeClassSections: time 0.05235/3.913, allocations: 20.93 MB / 2.407 GB, free: 10.53 MB / 1.417 GB Notification: Performance of NFFlatten.flatten: time 0.1092/4.022, allocations: 58.84 MB / 2.465 GB, free: 1.449 MB / 1.464 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05549/4.078, allocations: 17.24 MB / 2.482 GB, free: 0.7578 MB / 1.479 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1156/4.193, allocations: 34.12 MB / 2.515 GB, free: 480 kB / 1.51 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04602/4.239, allocations: 16.36 MB / 2.531 GB, free: 404 kB / 1.526 GB Notification: Performance of NFPackage.collectConstants: time 0.01238/4.252, allocations: 2.164 MB / 2.533 GB, free: 14.23 MB / 1.542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05608/4.308, allocations: 15.87 MB / 2.548 GB, free: 14.33 MB / 1.557 GB Notification: Performance of NFScalarize.scalarize: time 0.01169/4.32, allocations: 5.292 MB / 2.554 GB, free: 9.02 MB / 1.557 GB Notification: Performance of NFVerifyModel.verify: time 0.02619/4.346, allocations: 7.378 MB / 2.561 GB, free: 1.625 MB / 1.557 GB Notification: Performance of NFConvertDAE.convert: time 0.09497/4.441, allocations: 42.74 MB / 2.603 GB, free: 6.766 MB / 1.604 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/4.441, allocations: 0 / 2.603 GB, free: 6.766 MB / 1.604 GB Notification: Performance of FrontEnd: time 1.273e-06/4.441, allocations: 4 kB / 2.603 GB, free: 6.762 MB / 1.604 GB Notification: Performance of Transformations before backend: time 0.001387/4.442, allocations: 0 / 2.603 GB, free: 6.762 MB / 1.604 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.06422/4.506, allocations: 21.42 MB / 2.623 GB, free: 1.094 MB / 1.62 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/4.506, allocations: 12.03 kB / 2.624 GB, free: 1.082 MB / 1.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01585/4.522, allocations: 3.469 MB / 2.627 GB, free: 13.6 MB / 1.635 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0536/4.576, allocations: 20.86 MB / 2.647 GB, free: 8.59 MB / 1.651 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001484/4.577, allocations: 0.9895 MB / 2.648 GB, free: 7.594 MB / 1.651 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006615/4.584, allocations: 1.34 MB / 2.65 GB, free: 6.254 MB / 1.651 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8151/5.399, allocations: 17.06 MB / 2.666 GB, free: 0.8823 GB / 1.651 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004923/5.4, allocations: 43.53 kB / 2.666 GB, free: 0.8823 GB / 1.651 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002859/5.402, allocations: 0.5366 MB / 2.667 GB, free: 0.8819 GB / 1.651 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003471/5.403, allocations: 348.6 kB / 2.667 GB, free: 0.8819 GB / 1.651 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01925/5.422, allocations: 10.08 MB / 2.677 GB, free: 0.878 GB / 1.651 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.09059/5.513, allocations: 57.79 MB / 2.733 GB, free: 0.841 GB / 1.651 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007078/5.52, allocations: 4.342 MB / 2.738 GB, free: 0.8389 GB / 1.651 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003035/5.523, allocations: 2.284 MB / 2.74 GB, free: 0.8379 GB / 1.651 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07092/5.594, allocations: 22.91 MB / 2.762 GB, free: 0.8329 GB / 1.651 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/5.594, allocations: 123.4 kB / 2.762 GB, free: 0.8328 GB / 1.651 GB Notification: Performance of pre-optimization done (n=412): time 7.725e-06/5.594, allocations: 3.969 kB / 2.762 GB, free: 0.8328 GB / 1.651 GB Notification: Performance of matching and sorting (n=412): time 0.01517/5.609, allocations: 6.857 MB / 2.769 GB, free: 0.8262 GB / 1.651 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/5.609, allocations: 0.7864 MB / 2.77 GB, free: 0.8252 GB / 1.651 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01924/5.628, allocations: 12 MB / 2.782 GB, free: 0.8137 GB / 1.651 GB Notification: Performance of collectPreVariables (initialization): time 0.001545/5.63, allocations: 148.2 kB / 2.782 GB, free: 0.8135 GB / 1.651 GB Notification: Performance of collectInitialEqns (initialization): time 0.006495/5.637, allocations: 8.749 MB / 2.79 GB, free: 0.8058 GB / 1.651 GB Notification: Performance of collectInitialBindings (initialization): time 0.002204/5.639, allocations: 1.511 MB / 2.792 GB, free: 0.8046 GB / 1.651 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002078/5.641, allocations: 1.508 MB / 2.793 GB, free: 0.8031 GB / 1.651 GB Notification: Performance of setup shared object (initialization): time 5.345e-05/5.641, allocations: 301.1 kB / 2.793 GB, free: 0.8028 GB / 1.651 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002728/5.644, allocations: 2.086 MB / 2.795 GB, free: 0.8007 GB / 1.651 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006032/5.65, allocations: 10.43 MB / 2.806 GB, free: 0.788 GB / 1.651 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00755/5.657, allocations: 7.149 MB / 2.813 GB, free: 0.7801 GB / 1.651 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.054e-05/5.657, allocations: 24 kB / 2.813 GB, free: 0.78 GB / 1.651 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01535/5.673, allocations: 8.377 MB / 2.821 GB, free: 0.7719 GB / 1.651 GB Notification: Performance of prepare postOptimizeDAE: time 8.444e-05/5.673, allocations: 41.97 kB / 2.821 GB, free: 0.7719 GB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/5.673, allocations: 80 kB / 2.821 GB, free: 0.7718 GB / 1.651 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/5.673, allocations: 120 kB / 2.821 GB, free: 0.7717 GB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004365/5.677, allocations: 1.455 MB / 2.823 GB, free: 0.7703 GB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001868/5.677, allocations: 175.4 kB / 2.823 GB, free: 0.7701 GB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009195/5.687, allocations: 0.7995 MB / 2.823 GB, free: 0.7695 GB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001282/5.688, allocations: 391.9 kB / 2.824 GB, free: 0.7691 GB / 1.651 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.008894/5.697, allocations: 3.587 MB / 2.827 GB, free: 0.7656 GB / 1.651 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005573/5.702, allocations: 1.491 MB / 2.829 GB, free: 0.7642 GB / 1.651 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/5.717, allocations: 7.45 MB / 2.836 GB, free: 0.7571 GB / 1.651 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001854/5.717, allocations: 83.94 kB / 2.836 GB, free: 0.757 GB / 1.651 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.793e-05/5.717, allocations: 8 kB / 2.836 GB, free: 0.757 GB / 1.651 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003958/5.721, allocations: 3.887 MB / 2.84 GB, free: 0.7529 GB / 1.651 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04697/5.768, allocations: 25.41 MB / 2.865 GB, free: 0.7279 GB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001141/5.768, allocations: 35.94 kB / 2.865 GB, free: 0.7278 GB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00295/5.771, allocations: 0.7761 MB / 2.866 GB, free: 0.7271 GB / 1.651 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.04e-05/5.771, allocations: 52 kB / 2.866 GB, free: 0.727 GB / 1.651 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006138/5.772, allocations: 155.9 kB / 2.866 GB, free: 0.7269 GB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.226e-05/5.772, allocations: 71.78 kB / 2.866 GB, free: 0.7268 GB / 1.651 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-05/5.772, allocations: 43.81 kB / 2.866 GB, free: 0.7268 GB / 1.651 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/5.788, allocations: 11.84 MB / 2.877 GB, free: 0.7147 GB / 1.651 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006166/5.794, allocations: 2.277 MB / 2.88 GB, free: 0.7125 GB / 1.651 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003044/5.797, allocations: 152.9 kB / 2.88 GB, free: 0.7124 GB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006909/5.804, allocations: 180.1 kB / 2.88 GB, free: 0.7122 GB / 1.651 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006202/5.804, allocations: 410.6 kB / 2.88 GB, free: 0.7118 GB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007131/5.805, allocations: 259.8 kB / 2.881 GB, free: 0.7116 GB / 1.651 GB Notification: Performance of sorting global known variables: time 0.01683/5.822, allocations: 8.145 MB / 2.889 GB, free: 0.7037 GB / 1.651 GB Notification: Performance of sort global known variables: time 1.81e-07/5.822, allocations: 0 / 2.889 GB, free: 0.7037 GB / 1.651 GB Notification: Performance of remove unused functions: time 0.02377/5.846, allocations: 5.901 MB / 2.894 GB, free: 0.6985 GB / 1.651 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.0138/5.86, allocations: 4.631 MB / 2.899 GB, free: 0.6947 GB / 1.651 GB Notification: Performance of simCode: created initialization part: time 0.01079/5.87, allocations: 5.538 MB / 2.904 GB, free: 0.6893 GB / 1.651 GB Notification: Performance of simCode: created event and clocks part: time 5.196e-05/5.87, allocations: 8 kB / 2.904 GB, free: 0.6893 GB / 1.651 GB Notification: Performance of simCode: created simulation system equations: time 0.004177/5.875, allocations: 2.467 MB / 2.907 GB, free: 0.6869 GB / 1.651 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03562/5.91, allocations: 6.073 MB / 2.913 GB, free: 0.6814 GB / 1.651 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0496/5.96, allocations: 28.07 MB / 2.94 GB, free: 0.6535 GB / 1.651 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01198/5.972, allocations: 7.533 MB / 2.947 GB, free: 0.6461 GB / 1.651 GB Notification: Performance of simCode: alias equations: time 0.01126/5.983, allocations: 2.596 MB / 2.95 GB, free: 0.6437 GB / 1.651 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002833/5.986, allocations: 0.844 MB / 2.951 GB, free: 0.6429 GB / 1.651 GB Notification: Performance of SimCode: time 2.395e-06/5.986, allocations: 0 / 2.951 GB, free: 0.6429 GB / 1.651 GB Notification: Performance of Templates: time 0.3646/6.35, allocations: 261 MB / 3.206 GB, free: 399.9 MB / 1.651 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 -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/jenkins/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: 24.400433360016905]