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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00139/0.00139, 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.001523/0.001523, allocations: 196.5 kB / 16.14 MB, free: 6.719 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7342 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 66.61 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3587, allocations: 157.4 MB / 1.052 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02222/0.381, allocations: 13.86 MB / 1.066 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0041/0.3851, allocations: 2.703 MB / 1.068 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.3853, allocations: 0 / 1.068 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004352/0.3858, allocations: 39.8 kB / 1.068 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000459/0.3863, allocations: 87.42 kB / 1.068 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.3883, allocations: 465.7 kB / 1.069 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005193/0.3888, allocations: 303.9 kB / 1.069 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.559e-05/0.3889, allocations: 13.5 kB / 1.069 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009052/0.3979, allocations: 3.157 MB / 1.072 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.3982, allocations: 91.66 kB / 1.072 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.3982, allocations: 4 kB / 1.072 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.401, allocations: 0.9689 MB / 1.073 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.96e-05/0.4011, allocations: 39.89 kB / 1.073 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.4012, allocations: 79.64 kB / 1.073 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008388/0.402, allocations: 367 kB / 1.074 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4021, allocations: 4 kB / 1.074 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4021, allocations: 0 / 1.074 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.4021, allocations: 0 / 1.074 GB, free: 2.578 MB / 0.8262 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.0008787/0.403, allocations: 0.5046 MB / 1.074 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.403, allocations: 12.03 kB / 1.074 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.4032, allocations: 20.75 kB / 1.074 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.4035, allocations: 216.2 kB / 1.074 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.4035, allocations: 12.7 kB / 1.074 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.4035, allocations: 16.38 kB / 1.074 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.4039, allocations: 256 kB / 1.075 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.404, allocations: 0 / 1.075 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.404, allocations: 4 kB / 1.075 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.404, allocations: 8 kB / 1.075 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005063/0.4045, allocations: 424.1 kB / 1.075 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.4058, allocations: 0.9682 MB / 1.076 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.4061, allocations: 164.6 kB / 1.076 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.4062, allocations: 60.84 kB / 1.076 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/0.4076, allocations: 1.836 MB / 1.078 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.4077, allocations: 42.56 kB / 1.078 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 2.675e-06/0.4077, allocations: 0 / 1.078 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003638/0.408, allocations: 141.4 kB / 1.078 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.4081, allocations: 59.34 kB / 1.078 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.4083, allocations: 175.9 kB / 1.078 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.4083, allocations: 33.7 kB / 1.079 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.4084, allocations: 135.8 kB / 1.079 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.4085, allocations: 55.23 kB / 1.079 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.4085, allocations: 49.7 kB / 1.079 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4087, allocations: 330.8 kB / 1.079 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.819e-05/0.4088, allocations: 31.98 kB / 1.079 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.4089, allocations: 152.8 kB / 1.079 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.4091, allocations: 201.5 kB / 1.079 GB, free: 12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.4092, allocations: 0 / 1.079 GB, free: 12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003298/0.4095, allocations: 217 kB / 1.08 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.4095, allocations: 4.469 kB / 1.08 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4095, allocations: 8 kB / 1.08 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4096, allocations: 8 kB / 1.08 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.4098, allocations: 59.84 kB / 1.08 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.4098, allocations: 7.984 kB / 1.08 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.4099, allocations: 23.75 kB / 1.08 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.4099, allocations: 12 kB / 1.08 GB, free: 11.66 MB / 0.8419 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.0001179/0.41, allocations: 137.7 kB / 1.08 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.4101, allocations: 19.81 kB / 1.08 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.4104, allocations: 157.6 kB / 1.08 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.4104, allocations: 7.938 kB / 1.08 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4105, allocations: 0 / 1.08 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4105, allocations: 0 / 1.08 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.4107, allocations: 217.5 kB / 1.08 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4107, allocations: 4 kB / 1.08 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.924e-05/0.4108, allocations: 23.98 kB / 1.08 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4108, allocations: 0 / 1.08 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4108, allocations: 4 kB / 1.08 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.4109, allocations: 7.938 kB / 1.08 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4109, allocations: 7.938 kB / 1.08 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.4111, allocations: 219.3 kB / 1.081 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.465e-05/0.4112, allocations: 108.8 kB / 1.081 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.4113, allocations: 8 kB / 1.081 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.4115, allocations: 15.92 kB / 1.081 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.4115, allocations: 11.98 kB / 1.081 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.4115, allocations: 15.98 kB / 1.081 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.659e-05/0.4116, allocations: 120 kB / 1.081 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4116, allocations: 0 / 1.081 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004092/0.412, allocations: 72 kB / 1.081 GB, free: 10.43 MB / 0.8419 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.0004377/0.4125, allocations: 203 kB / 1.081 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.4128, allocations: 107.8 kB / 1.081 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4128, allocations: 0 / 1.081 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.915e-05/0.4128, allocations: 48.09 kB / 1.081 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.4133, allocations: 51.91 kB / 1.081 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.4141, allocations: 400.3 kB / 1.082 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.4144, allocations: 0.7131 MB / 1.082 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001827/0.4146, allocations: 49.75 kB / 1.082 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.4146, allocations: 23.44 kB / 1.082 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.4146, allocations: 0 / 1.082 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of Templates: time 0.007839/0.4225, allocations: 3.521 MB / 1.086 GB, free: 5.316 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) 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) Reference file matches