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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001178/0.001178, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001275/0.001275, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.572/2.572, allocations: 390.2 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.000422, allocations: 8 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7666/0.767, allocations: 142.3 MB / 0.9535 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01372/0.7808, allocations: 11.17 MB / 0.9644 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003045/0.784, allocations: 2.141 MB / 0.9665 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.7841, allocations: 3.844 kB / 0.9665 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.7844, allocations: 34.3 kB / 0.9665 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.7847, allocations: 81.78 kB / 0.9666 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.7861, allocations: 441.5 kB / 0.967 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.7864, allocations: 152.2 kB / 0.9672 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.837e-05/0.7865, allocations: 8.625 kB / 0.9672 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01081/0.7973, allocations: 4.302 MB / 0.9714 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.7975, allocations: 66.75 kB / 0.9715 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.7975, allocations: 6 kB / 0.9715 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.8003, allocations: 1.009 MB / 0.9725 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.907e-05/0.8004, allocations: 38.45 kB / 0.9725 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.105e-05/0.8005, allocations: 53.2 kB / 0.9725 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004874/0.8009, allocations: 225.7 kB / 0.9728 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.801, allocations: 0 / 0.9728 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.365e-06/0.801, allocations: 0 / 0.9728 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5e-06/0.801, allocations: 0 / 0.9728 GB, free: 10.69 MB / 0.7325 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.000814/0.8018, allocations: 470.4 kB / 0.9732 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.8018, allocations: 8.812 kB / 0.9732 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.802, allocations: 25.08 kB / 0.9732 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.8023, allocations: 211.5 kB / 0.9734 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.8023, allocations: 11.58 kB / 0.9735 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.8024, allocations: 22.06 kB / 0.9735 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/0.8028, allocations: 249.5 kB / 0.9737 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.8028, allocations: 1.406 kB / 0.9737 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.8028, allocations: 10.72 kB / 0.9737 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/0.8029, allocations: 8.953 kB / 0.9737 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005422/0.8034, allocations: 423.6 kB / 0.9741 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.8047, allocations: 1.008 MB / 0.9751 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.805, allocations: 164.4 kB / 0.9753 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/0.8063, allocations: 1.861 MB / 0.9771 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.8064, allocations: 32.91 kB / 0.9771 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.8064, allocations: 0 / 0.9771 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003208/0.8067, allocations: 142.7 kB / 0.9773 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.8067, allocations: 52.81 kB / 0.9773 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.8069, allocations: 170.4 kB / 0.9775 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.8069, allocations: 31.2 kB / 0.9775 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.807, allocations: 140.1 kB / 0.9776 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.8071, allocations: 57.91 kB / 0.9777 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.8071, allocations: 5.312 kB / 0.9777 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.8073, allocations: 329.9 kB / 0.978 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.8073, allocations: 32.27 kB / 0.978 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.8075, allocations: 135.6 kB / 0.9782 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.8076, allocations: 55.81 kB / 0.9782 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.8076, allocations: 1 kB / 0.9782 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000344/0.808, allocations: 214.7 kB / 0.9784 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.808, allocations: 6.031 kB / 0.9784 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.808, allocations: 4.438 kB / 0.9784 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.808, allocations: 5.594 kB / 0.9784 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.8082, allocations: 64.34 kB / 0.9785 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.8083, allocations: 5.094 kB / 0.9785 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.8084, allocations: 33.88 kB / 0.9785 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.8084, allocations: 14.89 kB / 0.9786 GB, free: 5.184 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.8085, allocations: 134.3 kB / 0.9787 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.8086, allocations: 16.5 kB / 0.9787 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.8089, allocations: 165.9 kB / 0.9789 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.809, allocations: 6.344 kB / 0.9789 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.809, allocations: 1.375 kB / 0.9789 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.809, allocations: 7.984 kB / 0.9789 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.8092, allocations: 213.5 kB / 0.9791 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8092, allocations: 0 / 0.9791 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.8093, allocations: 31.7 kB / 0.9791 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.8094, allocations: 5.203 kB / 0.9791 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.8094, allocations: 1 kB / 0.9791 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8094, allocations: 1.469 kB / 0.9791 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8094, allocations: 3.938 kB / 0.9791 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.8096, allocations: 223.8 kB / 0.9793 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.296e-05/0.8097, allocations: 122 kB / 0.9795 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.8098, allocations: 9.25 kB / 0.9795 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.81, allocations: 17.08 kB / 0.9795 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.81, allocations: 8.297 kB / 0.9795 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.81, allocations: 15.02 kB / 0.9795 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.154e-05/0.8101, allocations: 123.7 kB / 0.9796 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8101, allocations: 4 kB / 0.9796 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004181/0.8106, allocations: 74.03 kB / 0.9797 GB, free: 4.227 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002809/0.8108, allocations: 184 kB / 0.9799 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002315/0.8111, allocations: 116 kB / 0.98 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8111, allocations: 4.938 kB / 0.98 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.273e-05/0.8112, allocations: 40.2 kB / 0.98 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.8116, allocations: 51.84 kB / 0.9801 GB, free: 4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006641/0.8123, allocations: 430.4 kB / 0.9805 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.8125, allocations: 0.7211 MB / 0.9812 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001757/0.8127, allocations: 53.67 kB / 0.9812 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.8128, allocations: 23.42 kB / 0.9813 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.8128, allocations: 4 kB / 0.9813 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of Templates: time 0.006557/0.8193, allocations: 3.375 MB / 0.9846 GB, free: 15.51 MB / 0.7481 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","../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches