Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001252/0.001252, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001314/0.001314, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.37/2.37, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 67.89 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8277, allocations: 140.4 MB / 1.089 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02286/0.8506, allocations: 12.96 MB / 1.101 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005482/0.8562, allocations: 2.672 MB / 1.104 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.8565, allocations: 1.344 kB / 1.104 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.8571, allocations: 45.38 kB / 1.104 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0005972/0.8577, allocations: 102.5 kB / 1.104 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.8603, allocations: 0.5142 MB / 1.105 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0007581/0.861, allocations: 229 kB / 1.105 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 8.992e-05/0.8611, allocations: 13.86 kB / 1.105 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01491/0.8761, allocations: 3.594 MB / 1.108 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.8764, allocations: 87.55 kB / 1.108 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.8764, allocations: 15.97 kB / 1.108 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003451/0.8799, allocations: 1.077 MB / 1.109 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.88, allocations: 38.84 kB / 1.11 GB, free: 8.32 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.8801, allocations: 85.95 kB / 1.11 GB, free: 8.277 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009343/0.881, allocations: 356.1 kB / 1.11 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.881, allocations: 6 kB / 1.11 GB, free: 8.16 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8811, allocations: 0 / 1.11 GB, free: 8.16 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.8811, allocations: 0 / 1.11 GB, free: 8.16 MB / 0.8731 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.0008264/0.8819, allocations: 0.5033 MB / 1.11 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.8819, allocations: 9.828 kB / 1.11 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.8821, allocations: 23.41 kB / 1.11 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.8825, allocations: 216.1 kB / 1.111 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.8825, allocations: 14.08 kB / 1.111 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.8826, allocations: 18.62 kB / 1.111 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.883, allocations: 246 kB / 1.111 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.883, allocations: 1.719 kB / 1.111 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.8831, allocations: 10.03 kB / 1.111 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.603e-05/0.8831, allocations: 7.328 kB / 1.111 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006478/0.8838, allocations: 432.6 kB / 1.111 GB, free: 7.238 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.885, allocations: 0.9591 MB / 1.112 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.8854, allocations: 166.1 kB / 1.112 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.8855, allocations: 61.39 kB / 1.113 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001843/0.8873, allocations: 1.837 MB / 1.114 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.8874, allocations: 36.09 kB / 1.114 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.8874, allocations: 4 kB / 1.114 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0004041/0.8878, allocations: 144.7 kB / 1.114 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.8879, allocations: 58.5 kB / 1.115 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.888, allocations: 170.1 kB / 1.115 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.8881, allocations: 28.86 kB / 1.115 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.8882, allocations: 149.4 kB / 1.115 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.8883, allocations: 54.62 kB / 1.115 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/0.8883, allocations: 49.33 kB / 1.115 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.8885, allocations: 326.4 kB / 1.115 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.651e-05/0.8886, allocations: 35.67 kB / 1.115 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.8888, allocations: 141.1 kB / 1.115 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.889, allocations: 196.5 kB / 1.116 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.889, allocations: 1.094 kB / 1.116 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003464/0.8894, allocations: 215 kB / 1.116 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.8894, allocations: 7.453 kB / 1.116 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.8894, allocations: 8.188 kB / 1.116 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.8894, allocations: 8.562 kB / 1.116 GB, free: 2.949 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.8896, allocations: 59.2 kB / 1.116 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.8896, allocations: 10.17 kB / 1.116 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.8897, allocations: 20.06 kB / 1.116 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.8898, allocations: 16.61 kB / 1.116 GB, free: 2.918 MB / 0.8731 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.000115/0.8899, allocations: 131.4 kB / 1.116 GB, free: 2.789 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.89, allocations: 15.69 kB / 1.116 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.8903, allocations: 162.6 kB / 1.116 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.8903, allocations: 10.84 kB / 1.116 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8903, allocations: 0.7969 kB / 1.116 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.8903, allocations: 0.7969 kB / 1.116 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.8907, allocations: 212.1 kB / 1.116 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8907, allocations: 0.6094 kB / 1.116 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.285e-05/0.8908, allocations: 25.83 kB / 1.117 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.8908, allocations: 2.188 kB / 1.117 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.8908, allocations: 5.406 kB / 1.117 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.8908, allocations: 5.859 kB / 1.117 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.8908, allocations: 0 / 1.117 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.8911, allocations: 229 kB / 1.117 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.8912, allocations: 114.2 kB / 1.117 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.8912, allocations: 0 / 1.117 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.8914, allocations: 19.91 kB / 1.117 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.8915, allocations: 8.828 kB / 1.117 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.8915, allocations: 17.41 kB / 1.117 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001037/0.8916, allocations: 119.3 kB / 1.117 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8916, allocations: 7.938 kB / 1.117 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004634/0.8921, allocations: 72.19 kB / 1.117 GB, free: 2.062 MB / 0.8731 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.0004168/0.8925, allocations: 189.8 kB / 1.117 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.8928, allocations: 116.5 kB / 1.117 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8928, allocations: 0 / 1.117 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.817e-05/0.8929, allocations: 45.92 kB / 1.117 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.8934, allocations: 54.44 kB / 1.117 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008408/0.8942, allocations: 366.4 kB / 1.118 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.8946, allocations: 0.7189 MB / 1.119 GB, free: 0.9375 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.968e-05/0.8947, allocations: 29.56 kB / 1.119 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.8947, allocations: 0 / 1.119 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of Templates: time 0.00752/0.9022, allocations: 3.423 MB / 1.122 GB, free: 488 kB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches