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.001516/0.001516, allocations: 110.4 kB / 15.99 MB, free: 6.352 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.001674/0.001674, allocations: 197.2 kB / 16.91 MB, free: 6.184 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.471/1.471, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.265/2.265, allocations: 390.2 MB / 0.665 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 63.14 kB / 0.8127 GB, free: 33.16 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2842, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006599/0.2908, allocations: 4.757 MB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003016/0.2938, allocations: 2.695 MB / 0.957 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.294, allocations: 3.938 kB / 0.957 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.2943, allocations: 39.8 kB / 0.9571 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.2946, allocations: 87.48 kB / 0.9572 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.2959, allocations: 473.2 kB / 0.9576 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.2962, allocations: 232 kB / 0.9578 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.2963, allocations: 9.562 kB / 0.9578 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.2965, allocations: 119.5 kB / 0.958 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.2967, allocations: 91.66 kB / 0.958 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.2967, allocations: 8 kB / 0.958 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008129/0.2975, allocations: 375.2 kB / 0.9584 GB, free: 336 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.185e-05/0.2976, allocations: 35.89 kB / 0.9584 GB, free: 300 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.2977, allocations: 83.58 kB / 0.9585 GB, free: 216 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.2982, allocations: 239.9 kB / 0.9587 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.2982, allocations: 7.984 kB / 0.9588 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2982, allocations: 0 / 0.9588 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.2982, allocations: 0 / 0.9588 GB, free: 15.96 MB / 0.7481 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.0007601/0.299, allocations: 0.4954 MB / 0.9592 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.299, allocations: 8.031 kB / 0.9592 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.2992, allocations: 20.75 kB / 0.9593 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.2994, allocations: 227.8 kB / 0.9595 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.2995, allocations: 8.703 kB / 0.9595 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.2995, allocations: 16.38 kB / 0.9595 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.2999, allocations: 248.2 kB / 0.9597 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2999, allocations: 0 / 0.9597 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.3, allocations: 8 kB / 0.9598 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.3, allocations: 11.92 kB / 0.9598 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004881/0.3005, allocations: 431.5 kB / 0.9602 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.3017, allocations: 0.9449 MB / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.302, allocations: 166.8 kB / 0.9613 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.595e-05/0.3021, allocations: 56.89 kB / 0.9613 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/0.3035, allocations: 1.837 MB / 0.9631 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.3035, allocations: 30.56 kB / 0.9631 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.3035, allocations: 0 / 0.9631 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0003259/0.3039, allocations: 149.4 kB / 0.9633 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.3039, allocations: 59.34 kB / 0.9633 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.3041, allocations: 168.9 kB / 0.9635 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.3041, allocations: 25.7 kB / 0.9635 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.3042, allocations: 143.8 kB / 0.9637 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.3042, allocations: 55.28 kB / 0.9637 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/0.3043, allocations: 57.55 kB / 0.9638 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3045, allocations: 326.8 kB / 0.9641 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.925e-05/0.3046, allocations: 35.97 kB / 0.9641 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.3047, allocations: 145.7 kB / 0.9642 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.3049, allocations: 196 kB / 0.9644 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3049, allocations: 4 kB / 0.9644 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003267/0.3053, allocations: 217.1 kB / 0.9646 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3053, allocations: 8 kB / 0.9647 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3053, allocations: 8 kB / 0.9647 GB, free: 9.188 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3053, allocations: 4 kB / 0.9647 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.3055, allocations: 56.33 kB / 0.9647 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3056, allocations: 15.98 kB / 0.9647 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.3057, allocations: 23.69 kB / 0.9648 GB, free: 9.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.3057, allocations: 19.94 kB / 0.9648 GB, free: 9.07 MB / 0.7481 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.0001111/0.3058, allocations: 125.8 kB / 0.9649 GB, free: 8.938 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.3059, allocations: 11.91 kB / 0.9649 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.3062, allocations: 162.9 kB / 0.9651 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.3062, allocations: 3.938 kB / 0.9651 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3062, allocations: 4 kB / 0.9651 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3062, allocations: 0 / 0.9651 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.3065, allocations: 213.5 kB / 0.9653 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3065, allocations: 4 kB / 0.9653 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.926e-05/0.3066, allocations: 23.94 kB / 0.9653 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3066, allocations: 4 kB / 0.9653 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3066, allocations: 7.984 kB / 0.9653 GB, free: 8.457 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3066, allocations: 3.938 kB / 0.9653 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3066, allocations: 0 / 0.9653 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.3069, allocations: 226.3 kB / 0.9655 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.132e-05/0.307, allocations: 104.9 kB / 0.9656 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.307, allocations: 7.984 kB / 0.9656 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.3072, allocations: 15.92 kB / 0.9657 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.3073, allocations: 12 kB / 0.9657 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.3073, allocations: 7.984 kB / 0.9657 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.003e-05/0.3074, allocations: 125.6 kB / 0.9658 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3074, allocations: 3.938 kB / 0.9658 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004047/0.3078, allocations: 91.92 kB / 0.9659 GB, free: 7.84 MB / 0.7481 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.0003793/0.3082, allocations: 175 kB / 0.966 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.3085, allocations: 132.1 kB / 0.9662 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3086, allocations: 0 / 0.9662 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.51e-05/0.3086, allocations: 43.92 kB / 0.9662 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.3091, allocations: 56.5 kB / 0.9663 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007535/0.3098, allocations: 424.5 kB / 0.9667 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.3103, allocations: 0.7128 MB / 0.9674 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.3104, allocations: 31.44 kB / 0.9674 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/0.3104, allocations: 0 / 0.9674 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of Templates: time 0.005634/0.316, allocations: 3.153 MB / 0.9705 GB, free: 3.09 MB / 0.7481 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