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.001504/0.001505, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001661/0.001661, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.581/1.581, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.231/2.231, allocations: 390.2 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 65.97 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2715, allocations: 140.4 MB / 0.9502 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006559/0.2781, allocations: 4.735 MB / 0.9549 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00294/0.2811, allocations: 2.695 MB / 0.9575 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.2813, allocations: 0 / 0.9575 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.2816, allocations: 51.66 kB / 0.9576 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.2819, allocations: 95.38 kB / 0.9576 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.2833, allocations: 0.4973 MB / 0.9581 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.2836, allocations: 231.9 kB / 0.9584 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.2837, allocations: 9.562 kB / 0.9584 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.2839, allocations: 119.6 kB / 0.9585 GB, free: 420 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.284, allocations: 99.58 kB / 0.9586 GB, free: 320 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.2841, allocations: 8 kB / 0.9586 GB, free: 312 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007349/0.2848, allocations: 355.4 kB / 0.9589 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 7.482e-05/0.2849, allocations: 35.83 kB / 0.959 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 9.631e-05/0.285, allocations: 83.59 kB / 0.959 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006651/0.2857, allocations: 359.4 kB / 0.9594 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2857, allocations: 0 / 0.9594 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2857, allocations: 0 / 0.9594 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.2857, allocations: 0 / 0.9594 GB, free: 15.49 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.0007498/0.2865, allocations: 0.4964 MB / 0.9599 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2865, allocations: 12.03 kB / 0.9599 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.2867, allocations: 24.69 kB / 0.9599 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.2869, allocations: 216 kB / 0.9601 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.2869, allocations: 12.7 kB / 0.9601 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.287, allocations: 20.31 kB / 0.9601 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.2873, allocations: 248.2 kB / 0.9604 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2874, allocations: 0 / 0.9604 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.2874, allocations: 12 kB / 0.9604 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/0.2874, allocations: 7.984 kB / 0.9604 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.2879, allocations: 427.4 kB / 0.9608 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.289, allocations: 0.9527 MB / 0.9617 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.2893, allocations: 164.8 kB / 0.9619 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.2894, allocations: 68.88 kB / 0.9619 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/0.2908, allocations: 1.821 MB / 0.9637 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.2908, allocations: 38.56 kB / 0.9638 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.2908, allocations: 0 / 0.9638 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.000333/0.2912, allocations: 145.4 kB / 0.9639 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.2912, allocations: 59.34 kB / 0.964 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.2914, allocations: 167.3 kB / 0.9641 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.2914, allocations: 25.7 kB / 0.9641 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.2915, allocations: 143.8 kB / 0.9643 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.2916, allocations: 55.28 kB / 0.9643 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/0.2916, allocations: 49.61 kB / 0.9644 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2918, allocations: 322.8 kB / 0.9647 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.2919, allocations: 47.91 kB / 0.9647 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.292, allocations: 138.2 kB / 0.9649 GB, free: 9.188 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.2922, allocations: 195.9 kB / 0.9651 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2923, allocations: 0 / 0.9651 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003257/0.2926, allocations: 221 kB / 0.9653 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.2926, allocations: 8 kB / 0.9653 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2926, allocations: 4 kB / 0.9653 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2927, allocations: 4.469 kB / 0.9653 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.2928, allocations: 59.86 kB / 0.9653 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.2928, allocations: 7.984 kB / 0.9653 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.293, allocations: 31.69 kB / 0.9654 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.293, allocations: 8 kB / 0.9654 GB, free: 8.605 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.0001147/0.2931, allocations: 133.7 kB / 0.9655 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.2932, allocations: 19.89 kB / 0.9655 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.2935, allocations: 165.7 kB / 0.9657 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.2935, allocations: 11.94 kB / 0.9657 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2935, allocations: 0 / 0.9657 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2935, allocations: 0 / 0.9657 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.2938, allocations: 217.5 kB / 0.9659 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2938, allocations: 0 / 0.9659 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.2939, allocations: 23.94 kB / 0.9659 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2939, allocations: 0 / 0.9659 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.2939, allocations: 11.98 kB / 0.9659 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2939, allocations: 3.938 kB / 0.9659 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2939, allocations: 0 / 0.9659 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.2942, allocations: 223.3 kB / 0.9662 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.901e-05/0.2943, allocations: 104.9 kB / 0.9663 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.2943, allocations: 7.984 kB / 0.9663 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.2945, allocations: 15.94 kB / 0.9663 GB, free: 7.59 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.2945, allocations: 7.984 kB / 0.9663 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.2945, allocations: 15.98 kB / 0.9663 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.247e-05/0.2946, allocations: 116.9 kB / 0.9664 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.1e-07/0.2946, allocations: 4 kB / 0.9664 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003977/0.2951, allocations: 87.92 kB / 0.9665 GB, free: 7.363 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.0003501/0.2954, allocations: 179 kB / 0.9667 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.2957, allocations: 132.2 kB / 0.9668 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2957, allocations: 0 / 0.9668 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.907e-05/0.2958, allocations: 43.92 kB / 0.9668 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.2962, allocations: 52.39 kB / 0.9669 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/0.297, allocations: 375.2 kB / 0.9672 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.2973, allocations: 0.7128 MB / 0.9679 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.2974, allocations: 27.44 kB / 0.968 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of SimCode: time 3e-07/0.2974, allocations: 4 kB / 0.968 GB, free: 5.793 MB / 0.7481 GB Notification: Performance of Templates: time 0.005511/0.3029, allocations: 3.154 MB / 0.9711 GB, free: 2.66 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