Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 197.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.815/0.8162, allocations: 151.6 MB / 1.017 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02122/0.8375, allocations: 13.88 MB / 1.03 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003383/0.8409, allocations: 2.691 MB / 1.033 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.8411, allocations: 4 kB / 1.033 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.8416, allocations: 39.75 kB / 1.033 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003665/0.842, allocations: 91.47 kB / 1.033 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.8436, allocations: 454.1 kB / 1.033 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004127/0.844, allocations: 311.8 kB / 1.034 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.725e-05/0.8441, allocations: 5.562 kB / 1.034 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009812/0.8539, allocations: 3.162 MB / 1.037 GB, free: 14.24 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.8542, allocations: 95.59 kB / 1.037 GB, free: 14.15 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.8542, allocations: 8 kB / 1.037 GB, free: 14.14 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002972/0.8572, allocations: 0.9731 MB / 1.038 GB, free: 13.17 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.812e-05/0.8573, allocations: 35.88 kB / 1.038 GB, free: 13.14 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.8574, allocations: 87.66 kB / 1.038 GB, free: 13.05 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.8586, allocations: 363 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.8587, allocations: 0 / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.506e-06/0.8587, allocations: 3.984 kB / 1.038 GB, free: 12.69 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.8587, allocations: 0 / 1.038 GB, free: 12.69 MB / 0.795 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.000907/0.8596, allocations: 0.4993 MB / 1.039 GB, free: 12.14 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.8597, allocations: 8.031 kB / 1.039 GB, free: 12.14 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.8599, allocations: 20.75 kB / 1.039 GB, free: 12.12 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.8602, allocations: 216.1 kB / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.8602, allocations: 20.7 kB / 1.039 GB, free: 11.85 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.8602, allocations: 20.31 kB / 1.039 GB, free: 11.83 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/0.8607, allocations: 240.3 kB / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.8607, allocations: 0 / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.8607, allocations: 11.98 kB / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/0.8607, allocations: 4 kB / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.8613, allocations: 439.3 kB / 1.04 GB, free: 11.13 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.8625, allocations: 0.9644 MB / 1.041 GB, free: 10.07 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.8628, allocations: 153.1 kB / 1.041 GB, free: 9.918 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.8629, allocations: 62.42 kB / 1.041 GB, free: 9.855 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001684/0.8646, allocations: 1.829 MB / 1.043 GB, free: 7.668 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.8647, allocations: 42.56 kB / 1.043 GB, free: 7.617 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/0.8647, allocations: 0 / 1.043 GB, free: 7.617 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0004239/0.8651, allocations: 147 kB / 1.043 GB, free: 7.469 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.8652, allocations: 55.34 kB / 1.043 GB, free: 7.402 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.8653, allocations: 173.4 kB / 1.043 GB, free: 7.223 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.8654, allocations: 25.7 kB / 1.043 GB, free: 7.191 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.8655, allocations: 139.8 kB / 1.043 GB, free: 7.051 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.8655, allocations: 59.19 kB / 1.043 GB, free: 6.992 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.8656, allocations: 53.7 kB / 1.043 GB, free: 6.934 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.8657, allocations: 318.8 kB / 1.044 GB, free: 6.613 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.8658, allocations: 39.92 kB / 1.044 GB, free: 6.574 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.8659, allocations: 141.7 kB / 1.044 GB, free: 6.387 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.8662, allocations: 195 kB / 1.044 GB, free: 6.148 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.8662, allocations: 0 / 1.044 GB, free: 6.148 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003446/0.8666, allocations: 222.6 kB / 1.044 GB, free: 5.926 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.8666, allocations: 13.56 kB / 1.044 GB, free: 5.914 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.8666, allocations: 7.938 kB / 1.044 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.8667, allocations: 15.91 kB / 1.044 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.8668, allocations: 55.86 kB / 1.044 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.8669, allocations: 8 kB / 1.044 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.867, allocations: 27.69 kB / 1.044 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.867, allocations: 15.98 kB / 1.044 GB, free: 5.785 MB / 0.795 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 0.0001326/0.8672, allocations: 134.2 kB / 1.044 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.8672, allocations: 19.81 kB / 1.044 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.8676, allocations: 151 kB / 1.045 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.8676, allocations: 7.938 kB / 1.045 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.8676, allocations: 0 / 1.045 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.8676, allocations: 3.984 kB / 1.045 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.8679, allocations: 217.5 kB / 1.045 GB, free: 5.195 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8679, allocations: 0 / 1.045 GB, free: 5.195 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.868, allocations: 27.92 kB / 1.045 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.8681, allocations: 0 / 1.045 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.8681, allocations: 12 kB / 1.045 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.8681, allocations: 3.938 kB / 1.045 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8681, allocations: 0 / 1.045 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.8684, allocations: 212.6 kB / 1.045 GB, free: 4.93 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.8685, allocations: 112.9 kB / 1.045 GB, free: 4.801 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.8686, allocations: 0 / 1.045 GB, free: 4.801 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.8688, allocations: 19.92 kB / 1.045 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.8688, allocations: 11.98 kB / 1.045 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.8689, allocations: 15.98 kB / 1.045 GB, free: 4.754 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001049/0.869, allocations: 122.3 kB / 1.045 GB, free: 4.637 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.869, allocations: 0 / 1.045 GB, free: 4.637 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004521/0.8694, allocations: 83.92 kB / 1.045 GB, free: 4.555 MB / 0.795 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.0004979/0.8699, allocations: 183 kB / 1.046 GB, free: 4.367 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002971/0.8702, allocations: 121.4 kB / 1.046 GB, free: 4.25 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8703, allocations: 0.9375 kB / 1.046 GB, free: 4.25 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.393e-05/0.8703, allocations: 47.92 kB / 1.046 GB, free: 4.203 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.8708, allocations: 51.95 kB / 1.046 GB, free: 4.152 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008238/0.8717, allocations: 398.2 kB / 1.046 GB, free: 3.742 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.8721, allocations: 0.7131 MB / 1.047 GB, free: 3.004 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002162/0.8723, allocations: 49.69 kB / 1.047 GB, free: 2.957 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.8723, allocations: 23.44 kB / 1.047 GB, free: 2.934 MB / 0.795 GB Notification: Performance of SimCode: time 5.61e-07/0.8723, allocations: 0 / 1.047 GB, free: 2.934 MB / 0.795 GB Notification: Performance of Templates: time 0.008322/0.8807, allocations: 3.526 MB / 1.05 GB, free: 15.44 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches