Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 198 kB / 16.53 MB, free: 6.668 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.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.438/2.438, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 61.59 kB / 0.8992 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2667, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005119/0.2719, allocations: 4.735 MB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002411/0.2743, allocations: 2.702 MB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.2744, allocations: 0 / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.2746, allocations: 51.67 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.2748, allocations: 91.36 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000839/0.2756, allocations: 0.4893 MB / 1.061 GB, free: 180 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.2758, allocations: 235.9 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.2759, allocations: 13.56 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.276, allocations: 119.5 kB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.2762, allocations: 83.67 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.2762, allocations: 8 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005407/0.2767, allocations: 363.3 kB / 1.062 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.2768, allocations: 47.81 kB / 1.062 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.949e-05/0.2769, allocations: 79.66 kB / 1.062 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.2774, allocations: 355.4 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2774, allocations: 4 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2774, allocations: 0 / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2774, allocations: 3.938 kB / 1.062 GB, free: 14.89 MB / 0.8262 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.0005945/0.278, allocations: 0.4954 MB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.278, allocations: 8.625 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.2781, allocations: 54.73 kB / 1.063 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.2782, allocations: 20.75 kB / 1.063 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.2784, allocations: 212.1 kB / 1.063 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2784, allocations: 8.703 kB / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.2784, allocations: 28.36 kB / 1.063 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.2788, allocations: 247.8 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2788, allocations: 0 / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.2788, allocations: 12 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.2788, allocations: 7.938 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.2792, allocations: 431.5 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009386/0.2802, allocations: 0.9526 MB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.2804, allocations: 166.6 kB / 1.065 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.113e-05/0.2805, allocations: 56.89 kB / 1.065 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/0.2817, allocations: 1.825 MB / 1.066 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.2817, allocations: 42.5 kB / 1.066 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.133e-06/0.2817, allocations: 0 / 1.066 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0002772/0.282, allocations: 147.4 kB / 1.067 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.2821, allocations: 51.41 kB / 1.067 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.2822, allocations: 175.9 kB / 1.067 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.2822, allocations: 29.7 kB / 1.067 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.2823, allocations: 139.8 kB / 1.067 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.2823, allocations: 55.2 kB / 1.067 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.2824, allocations: 61.69 kB / 1.067 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.408e-05/0.2825, allocations: 326.8 kB / 1.067 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.88e-05/0.2826, allocations: 31.98 kB / 1.067 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.2827, allocations: 142.2 kB / 1.068 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.2829, allocations: 200 kB / 1.068 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2829, allocations: 0 / 1.068 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002834/0.2832, allocations: 217.5 kB / 1.068 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.2832, allocations: 9.156 kB / 1.068 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2832, allocations: 4 kB / 1.068 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2832, allocations: 7.938 kB / 1.068 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2834, allocations: 59.91 kB / 1.068 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.2834, allocations: 11.92 kB / 1.068 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.518e-05/0.2835, allocations: 27.69 kB / 1.068 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.2835, allocations: 15.98 kB / 1.068 GB, free: 7.934 MB / 0.8262 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 8.727e-05/0.2836, allocations: 129.8 kB / 1.068 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.2837, allocations: 15.81 kB / 1.068 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.2839, allocations: 158.9 kB / 1.068 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/0.2839, allocations: 3.938 kB / 1.068 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.284, allocations: 0 / 1.068 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.284, allocations: 3.984 kB / 1.068 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.2842, allocations: 217.5 kB / 1.069 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2842, allocations: 0 / 1.069 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.698e-05/0.2843, allocations: 23.98 kB / 1.069 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2843, allocations: 0 / 1.069 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.2843, allocations: 8 kB / 1.069 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2843, allocations: 7.938 kB / 1.069 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2843, allocations: 0 / 1.069 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.2845, allocations: 226.2 kB / 1.069 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.009e-05/0.2846, allocations: 108.8 kB / 1.069 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.2846, allocations: 0 / 1.069 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.2848, allocations: 19.92 kB / 1.069 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.2848, allocations: 7.984 kB / 1.069 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.2849, allocations: 19.98 kB / 1.069 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.117e-05/0.285, allocations: 120 kB / 1.069 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.285, allocations: 0 / 1.069 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003255/0.2853, allocations: 75.94 kB / 1.069 GB, free: 6.715 MB / 0.8262 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.00061/0.2859, allocations: 0.8292 MB / 1.07 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.2861, allocations: 123.8 kB / 1.07 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2861, allocations: 0.9375 kB / 1.07 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.986e-05/0.2862, allocations: 47.86 kB / 1.07 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.2866, allocations: 62.42 kB / 1.07 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.2884, allocations: 2.027 MB / 1.072 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.2887, allocations: 0.7128 MB / 1.073 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001435/0.2888, allocations: 49.8 kB / 1.073 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/0.2889, allocations: 47.42 kB / 1.073 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2889, allocations: 0 / 1.073 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5153/0.8042, allocations: 5.193 MB / 1.078 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.58, allocations: 6.547 kB / 1.078 GB, free: 13.49 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches