Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.WaterProperties.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.Examples.WaterProperties,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.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,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.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001749/0.001749, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.283/1.283, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.31/2.31, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 64.09 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6738/0.6751, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004962/0.6801, allocations: 4.726 MB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.6825, allocations: 2.704 MB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.6826, allocations: 1.375 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.6829, allocations: 50.34 kB / 1.096 GB, free: 416 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.6832, allocations: 99.72 kB / 1.096 GB, free: 352 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.6843, allocations: 0.5072 MB / 1.097 GB, free: 76 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.6846, allocations: 236.2 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.6846, allocations: 10.03 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.6849, allocations: 111.5 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.6851, allocations: 91.86 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.6851, allocations: 8.344 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008968/0.686, allocations: 369.4 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.874e-05/0.6861, allocations: 38.22 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.6863, allocations: 83.48 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007613/0.687, allocations: 361.8 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.6871, allocations: 0.5938 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6871, allocations: 0 / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.6871, allocations: 1.094 kB / 1.098 GB, free: 15.55 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.0008839/0.688, allocations: 0.4958 MB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.688, allocations: 8.906 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.6882, allocations: 27 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.6885, allocations: 213.6 kB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.6886, allocations: 10.98 kB / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.6886, allocations: 19 kB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000457/0.6891, allocations: 249.3 kB / 1.099 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.6891, allocations: 1.422 kB / 1.099 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.6891, allocations: 7.625 kB / 1.099 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.6891, allocations: 14.14 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006077/0.6898, allocations: 428.8 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.6909, allocations: 0.95 MB / 1.1 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.6912, allocations: 159.3 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.6913, allocations: 61.03 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/0.6928, allocations: 1.833 MB / 1.102 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.6928, allocations: 40.75 kB / 1.102 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.6929, allocations: 0 / 1.102 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003368/0.6932, allocations: 139.3 kB / 1.102 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.6932, allocations: 57.06 kB / 1.102 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.6934, allocations: 175.3 kB / 1.103 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.6934, allocations: 32.45 kB / 1.103 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.6935, allocations: 137.4 kB / 1.103 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.6936, allocations: 51 kB / 1.103 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.6936, allocations: 53.5 kB / 1.103 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6937, allocations: 330.8 kB / 1.103 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.382e-05/0.6938, allocations: 38.75 kB / 1.103 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.694, allocations: 143.3 kB / 1.103 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.6942, allocations: 204.2 kB / 1.103 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6942, allocations: 1.562 kB / 1.103 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003319/0.6946, allocations: 220 kB / 1.104 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6946, allocations: 10.22 kB / 1.104 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6946, allocations: 5.188 kB / 1.104 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.6946, allocations: 4.875 kB / 1.104 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.6948, allocations: 55.23 kB / 1.104 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.6948, allocations: 9.344 kB / 1.104 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.6949, allocations: 24.53 kB / 1.104 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.695, allocations: 19.16 kB / 1.104 GB, free: 10.31 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.0001087/0.6951, allocations: 131.4 kB / 1.104 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.6951, allocations: 20.83 kB / 1.104 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.6955, allocations: 158.2 kB / 1.104 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6955, allocations: 1.75 kB / 1.104 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6955, allocations: 4.547 kB / 1.104 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.6956, allocations: 107.9 kB / 1.104 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.6956, allocations: 5.703 kB / 1.104 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.6958, allocations: 10.77 kB / 1.104 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.6959, allocations: 12.05 kB / 1.104 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002329/0.6961, allocations: 203.1 kB / 1.104 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002625/0.6964, allocations: 292.7 kB / 1.105 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.183e-05/0.6965, allocations: 39.66 kB / 1.105 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.371e-05/0.6966, allocations: 118.8 kB / 1.105 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of Backend: time 3.7e-07/0.6966, allocations: 1.125 kB / 1.105 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008537/0.6974, allocations: 337 kB / 1.105 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0007915/0.6982, allocations: 0.7865 MB / 1.106 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of Templates: time 0.009085/0.7073, allocations: 4.73 MB / 1.111 GB, free: 8.078 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_9_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches