Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.001152/0.001152, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001237/0.001237, allocations: 169 kB / 24.28 MB, free: 276 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 1.002/1.002, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 1.784/1.784, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] 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.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0.5469 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.366e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01492/0.01494, allocations: 13.02 MB / 0.7999 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.01692, allocations: 2.776 MB / 0.8026 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.946e-05/0.017, allocations: 0 / 0.8026 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.01726, allocations: 47.62 kB / 0.8026 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.01748, allocations: 95.36 kB / 0.8027 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009143/0.0184, allocations: 0.5363 MB / 0.8032 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.01863, allocations: 247.8 kB / 0.8035 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.01866, allocations: 9.812 kB / 0.8035 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005485/0.02415, allocations: 3.626 MB / 0.807 GB, free: 8.379 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.02428, allocations: 79.77 kB / 0.8071 GB, free: 8.301 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.0243, allocations: 8 kB / 0.8071 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.02589, allocations: 1.046 MB / 0.8081 GB, free: 7.242 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.02596, allocations: 39.83 kB / 0.8082 GB, free: 7.203 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 6.288e-05/0.02602, allocations: 59.89 kB / 0.8082 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.02649, allocations: 370.8 kB / 0.8086 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.0265, allocations: 0 / 0.8086 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.082e-06/0.0265, allocations: 0 / 0.8086 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.0265, allocations: 0 / 0.8086 GB, free: 6.781 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006181/0.02712, allocations: 0.5346 MB / 0.8091 GB, free: 6.211 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.02717, allocations: 12.03 kB / 0.8091 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.02735, allocations: 44.7 kB / 0.8091 GB, free: 6.156 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.02754, allocations: 164.4 kB / 0.8093 GB, free: 5.969 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.02756, allocations: 16.69 kB / 0.8093 GB, free: 5.953 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.02758, allocations: 16.38 kB / 0.8093 GB, free: 5.938 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.02789, allocations: 442.1 kB / 0.8098 GB, free: 5.426 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.02789, allocations: 192 / 0.8098 GB, free: 5.426 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.02791, allocations: 16.11 kB / 0.8098 GB, free: 5.41 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.02795, allocations: 4 kB / 0.8098 GB, free: 5.406 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.02821, allocations: 295.5 kB / 0.8101 GB, free: 5.117 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007532/0.02896, allocations: 1.007 MB / 0.811 GB, free: 4.055 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.02918, allocations: 130.7 kB / 0.8112 GB, free: 3.918 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/0.02924, allocations: 48.98 kB / 0.8112 GB, free: 3.867 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004604/0.0297, allocations: 0.5348 MB / 0.8117 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.02972, allocations: 37.39 kB / 0.8118 GB, free: 3.266 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.02972, allocations: 4 kB / 0.8118 GB, free: 3.262 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0002448/0.02997, allocations: 136.2 kB / 0.8119 GB, free: 3.125 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.02999, allocations: 55.41 kB / 0.812 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.0301, allocations: 220.3 kB / 0.8122 GB, free: 2.828 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.03011, allocations: 25.7 kB / 0.8122 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.03018, allocations: 194.8 kB / 0.8124 GB, free: 2.602 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.03021, allocations: 55.53 kB / 0.8124 GB, free: 2.547 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.03026, allocations: 63.31 kB / 0.8125 GB, free: 2.477 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.03037, allocations: 0.5 MB / 0.813 GB, free: 1.965 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.019e-05/0.03041, allocations: 27.97 kB / 0.813 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.03052, allocations: 171 kB / 0.8132 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.03067, allocations: 230.7 kB / 0.8134 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.03068, allocations: 0 / 0.8134 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00048/0.03116, allocations: 211.7 kB / 0.8136 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.03117, allocations: 7.938 kB / 0.8136 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.03118, allocations: 4 kB / 0.8136 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.03119, allocations: 7.984 kB / 0.8136 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.0313, allocations: 59.92 kB / 0.8137 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.03131, allocations: 4 kB / 0.8137 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.635e-05/0.03136, allocations: 31.77 kB / 0.8137 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.03138, allocations: 12 kB / 0.8137 GB, free: 1.074 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.677e-05/0.03145, allocations: 172.5 kB / 0.8139 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.03148, allocations: 27.97 kB / 0.8139 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.03168, allocations: 142.2 kB / 0.814 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.03169, allocations: 0 / 0.814 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.03169, allocations: 0 / 0.814 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.0317, allocations: 8 kB / 0.814 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.03183, allocations: 164.4 kB / 0.8142 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.03183, allocations: 3.984 kB / 0.8142 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/0.03189, allocations: 31.98 kB / 0.8142 GB, free: 492 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.03189, allocations: 0 / 0.8142 GB, free: 492 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.03191, allocations: 15.97 kB / 0.8143 GB, free: 476 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.03191, allocations: 0 / 0.8143 GB, free: 476 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.03191, allocations: 7.938 kB / 0.8143 GB, free: 468 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.03207, allocations: 262.6 kB / 0.8145 GB, free: 188 kB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.03211, allocations: 39.86 kB / 0.8145 GB, free: 148 kB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.03212, allocations: 0 / 0.8145 GB, free: 148 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.97e-05/0.0322, allocations: 12 kB / 0.8146 GB, free: 136 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.03222, allocations: 7.984 kB / 0.8146 GB, free: 128 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.03223, allocations: 11.98 kB / 0.8146 GB, free: 116 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 6.305e-05/0.0323, allocations: 150.6 kB / 0.8147 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0323, allocations: 0 / 0.8147 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002503/0.03255, allocations: 83.81 kB / 0.8148 GB, free: 15.89 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0002366/0.03278, allocations: 190.9 kB / 0.815 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.03295, allocations: 111.9 kB / 0.8151 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.03295, allocations: 4 kB / 0.8151 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.03299, allocations: 43.61 kB / 0.8151 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.03324, allocations: 47.89 kB / 0.8152 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007198/0.03396, allocations: 323.5 kB / 0.8155 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.277e-05/0.034, allocations: 79.98 kB / 0.8156 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.0341, allocations: 41.27 kB / 0.8156 GB, free: 15 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.03413, allocations: 28.5 kB / 0.8156 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of SimCode: time 8.11e-07/0.03413, allocations: 4 kB / 0.8156 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of Templates: time 0.004928/0.03906, allocations: 3.373 MB / 0.8189 GB, free: 11.67 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.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: 5.17860373808071]