Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001547/0.001547, allocations: 110.7 kB / 16.42 MB, free: 6.465 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.001781/0.001781, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.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.403/2.403, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 75.8 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6691/0.6704, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005861/0.6763, allocations: 4.726 MB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002841/0.6792, allocations: 2.71 MB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.6793, allocations: 8 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.6796, allocations: 43.69 kB / 1.175 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.6799, allocations: 103.3 kB / 1.175 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.6811, allocations: 0.5008 MB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.6814, allocations: 236 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.6814, allocations: 9.562 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.6817, allocations: 119.5 kB / 1.176 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.6818, allocations: 87.67 kB / 1.176 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.6818, allocations: 8 kB / 1.176 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007464/0.6826, allocations: 375.3 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.03e-05/0.6827, allocations: 35.89 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.477e-05/0.6828, allocations: 83.59 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006256/0.6834, allocations: 356.8 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6834, allocations: 0 / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6834, allocations: 0 / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.6834, allocations: 0 / 1.176 GB, free: 10.45 MB / 0.9044 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.0007155/0.6842, allocations: 0.507 MB / 1.177 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.6842, allocations: 8.031 kB / 1.177 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.6844, allocations: 20.75 kB / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.6847, allocations: 212.1 kB / 1.177 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.6847, allocations: 12.7 kB / 1.177 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.6847, allocations: 16.38 kB / 1.177 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.6851, allocations: 244.2 kB / 1.177 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.6851, allocations: 0 / 1.177 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.6851, allocations: 8 kB / 1.177 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.6851, allocations: 11.98 kB / 1.177 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.6856, allocations: 435.5 kB / 1.178 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.6867, allocations: 0.9447 MB / 1.179 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.687, allocations: 170.9 kB / 1.179 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.53e-05/0.6871, allocations: 64.81 kB / 1.179 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.6884, allocations: 1.825 MB / 1.181 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.6885, allocations: 42.56 kB / 1.181 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.6885, allocations: 0 / 1.181 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0003222/0.6888, allocations: 145.3 kB / 1.181 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.6888, allocations: 59.34 kB / 1.181 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.689, allocations: 163.3 kB / 1.181 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.689, allocations: 29.7 kB / 1.181 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/0.6891, allocations: 143.8 kB / 1.181 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.6891, allocations: 51.27 kB / 1.181 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.125e-05/0.6892, allocations: 53.64 kB / 1.181 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.6893, allocations: 326.8 kB / 1.182 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.754e-05/0.6894, allocations: 35.97 kB / 1.182 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.6895, allocations: 149.6 kB / 1.182 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.6898, allocations: 199.8 kB / 1.182 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6898, allocations: 3.984 kB / 1.182 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003428/0.6901, allocations: 213.1 kB / 1.182 GB, free: 3.672 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.6902, allocations: 8.406 kB / 1.182 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6902, allocations: 8 kB / 1.182 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.6902, allocations: 8 kB / 1.182 GB, free: 3.648 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.6904, allocations: 55.92 kB / 1.182 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.6904, allocations: 11.92 kB / 1.182 GB, free: 3.582 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.6905, allocations: 19.75 kB / 1.182 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.6905, allocations: 16 kB / 1.182 GB, free: 3.547 MB / 0.9044 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.0001098/0.6907, allocations: 131.9 kB / 1.183 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.6907, allocations: 15.81 kB / 1.183 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.691, allocations: 170.9 kB / 1.183 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.691, allocations: 0 / 1.183 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6911, allocations: 3.938 kB / 1.183 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.6911, allocations: 104.9 kB / 1.183 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.6912, allocations: 0 / 1.183 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.6914, allocations: 15.98 kB / 1.183 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.6914, allocations: 11.98 kB / 1.183 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002202/0.6916, allocations: 190.4 kB / 1.183 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002744/0.6919, allocations: 309.1 kB / 1.183 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.607e-05/0.692, allocations: 39.97 kB / 1.183 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.323e-05/0.6921, allocations: 120.9 kB / 1.184 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of Backend: time 5.01e-07/0.6921, allocations: 0 / 1.184 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008334/0.6929, allocations: 342.7 kB / 1.184 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007672/0.6937, allocations: 0.7809 MB / 1.185 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of Templates: time 0.008778/0.7025, allocations: 4.719 MB / 1.189 GB, free: 12.55 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_10_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches