Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008313/0.0008313, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007806/0.0007806, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8852/0.8852, allocations: 177.1 MB / 203.5 MB, free: 5.727 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 1.737/1.737, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_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.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.98e-05, allocations: 2.281 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01012/0.01014, allocations: 11.95 MB / 1.013 GB, free: 0.9258 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.01178, allocations: 2.422 MB / 1.015 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.494e-05/0.01184, allocations: 0 / 1.015 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.01209, allocations: 39.7 kB / 1.015 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.01229, allocations: 103.3 kB / 1.015 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.01294, allocations: 0.5522 MB / 1.016 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.01312, allocations: 243.8 kB / 1.016 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.01316, allocations: 5.812 kB / 1.016 GB, free: 13.56 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004106/0.01727, allocations: 3.63 MB / 1.019 GB, free: 9.914 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.01737, allocations: 79.77 kB / 1.02 GB, free: 9.836 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.01739, allocations: 8 kB / 1.02 GB, free: 9.828 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.0187, allocations: 1.045 MB / 1.021 GB, free: 8.785 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.01876, allocations: 39.83 kB / 1.021 GB, free: 8.746 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 5.559e-05/0.01881, allocations: 59.89 kB / 1.021 GB, free: 8.688 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.01922, allocations: 390.8 kB / 1.021 GB, free: 8.305 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.01922, allocations: 0 / 1.021 GB, free: 8.305 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.102e-06/0.01922, allocations: 0 / 1.021 GB, free: 8.305 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.01923, allocations: 0 / 1.021 GB, free: 8.305 MB / 0.9792 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.0005896/0.01982, allocations: 449.4 kB / 1.021 GB, free: 7.836 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.01985, allocations: 12.03 kB / 1.021 GB, free: 7.824 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.01995, allocations: 24.83 kB / 1.021 GB, free: 7.801 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.02015, allocations: 153.6 kB / 1.022 GB, free: 7.625 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.02017, allocations: 12.7 kB / 1.022 GB, free: 7.613 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.02019, allocations: 24.31 kB / 1.022 GB, free: 7.59 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.02052, allocations: 479.9 kB / 1.022 GB, free: 7.047 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.02054, allocations: 4.188 kB / 1.022 GB, free: 7.043 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.02056, allocations: 12.12 kB / 1.022 GB, free: 7.031 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.02058, allocations: 12 kB / 1.022 GB, free: 7.02 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.0209, allocations: 424 kB / 1.023 GB, free: 6.605 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007483/0.02164, allocations: 0.7856 MB / 1.023 GB, free: 5.773 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.02189, allocations: 153.2 kB / 1.023 GB, free: 5.617 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.858e-05/0.02196, allocations: 52.88 kB / 1.024 GB, free: 5.562 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00047/0.02243, allocations: 463.9 kB / 1.024 GB, free: 5.09 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.02245, allocations: 46.48 kB / 1.024 GB, free: 5.035 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=15): time 1.052e-06/0.02245, allocations: 0 / 1.024 GB, free: 5.035 MB / 0.9792 GB Notification: Performance of matching and sorting (n=15): time 0.0002582/0.02271, allocations: 137.5 kB / 1.024 GB, free: 4.895 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.02275, allocations: 55.41 kB / 1.024 GB, free: 4.828 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.02285, allocations: 160.7 kB / 1.024 GB, free: 4.664 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.02287, allocations: 25.7 kB / 1.024 GB, free: 4.633 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.02294, allocations: 144.1 kB / 1.024 GB, free: 4.488 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.02298, allocations: 59.48 kB / 1.025 GB, free: 4.43 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.02303, allocations: 53.69 kB / 1.025 GB, free: 4.371 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.02313, allocations: 326.8 kB / 1.025 GB, free: 4.043 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/0.02319, allocations: 43.98 kB / 1.025 GB, free: 4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.02329, allocations: 145.6 kB / 1.025 GB, free: 3.809 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.02346, allocations: 191.9 kB / 1.025 GB, free: 3.574 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.02347, allocations: 0 / 1.025 GB, free: 3.574 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000239/0.0237, allocations: 225.3 kB / 1.025 GB, free: 3.348 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.02372, allocations: 4 kB / 1.026 GB, free: 3.344 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.02373, allocations: 4 kB / 1.026 GB, free: 3.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.02374, allocations: 4 kB / 1.026 GB, free: 3.336 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.02386, allocations: 59.92 kB / 1.026 GB, free: 3.277 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.02387, allocations: 7.984 kB / 1.026 GB, free: 3.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.834e-05/0.02393, allocations: 31.72 kB / 1.026 GB, free: 3.238 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.02394, allocations: 12 kB / 1.026 GB, free: 3.227 MB / 0.9792 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 8.446e-05/0.02403, allocations: 138 kB / 1.026 GB, free: 3.082 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.02405, allocations: 15.91 kB / 1.026 GB, free: 3.066 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.02427, allocations: 152.4 kB / 1.026 GB, free: 2.91 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.02428, allocations: 7.984 kB / 1.026 GB, free: 2.902 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.02429, allocations: 3.938 kB / 1.026 GB, free: 2.898 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.02429, allocations: 0 / 1.026 GB, free: 2.898 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.02443, allocations: 161.1 kB / 1.026 GB, free: 2.711 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.02443, allocations: 0 / 1.026 GB, free: 2.711 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.378e-05/0.02449, allocations: 23.98 kB / 1.026 GB, free: 2.688 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.02449, allocations: 4 kB / 1.026 GB, free: 2.684 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.0245, allocations: 8 kB / 1.026 GB, free: 2.676 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.0245, allocations: 0 / 1.026 GB, free: 2.676 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.0245, allocations: 0 / 1.026 GB, free: 2.676 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.02468, allocations: 223.3 kB / 1.026 GB, free: 2.441 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.02472, allocations: 31.81 kB / 1.026 GB, free: 2.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.02474, allocations: 0 / 1.026 GB, free: 2.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.546e-05/0.02483, allocations: 15.98 kB / 1.026 GB, free: 2.395 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.02486, allocations: 7.984 kB / 1.026 GB, free: 2.387 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.02487, allocations: 15.98 kB / 1.026 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.665e-05/0.02493, allocations: 114.5 kB / 1.026 GB, free: 2.262 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.02493, allocations: 4 kB / 1.027 GB, free: 2.258 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002542/0.02518, allocations: 75.88 kB / 1.027 GB, free: 2.184 MB / 0.9792 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.0002848/0.02547, allocations: 194.9 kB / 1.027 GB, free: 1.984 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.02568, allocations: 111.8 kB / 1.027 GB, free: 1.875 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.02568, allocations: 0 / 1.027 GB, free: 1.875 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 4.483e-05/0.02572, allocations: 46.44 kB / 1.027 GB, free: 1.832 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.02599, allocations: 40.86 kB / 1.027 GB, free: 1.793 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.02653, allocations: 335.8 kB / 1.027 GB, free: 1.434 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.416e-05/0.02661, allocations: 106.5 kB / 1.027 GB, free: 1.309 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.02665, allocations: 28.5 kB / 1.027 GB, free: 1.281 MB / 0.9792 GB Notification: Performance of SimCode: time 5.91e-07/0.02665, allocations: 0 / 1.027 GB, free: 1.281 MB / 0.9792 GB Notification: Performance of Templates: time 0.003785/0.03043, allocations: 3.425 MB / 1.031 GB, free: 13.88 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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: 6.660807863809168]