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: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_9_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.007934/0.007934, allocations: 103.7 kB / 15.73 MB, free: 6.051 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: 196.2 kB / 16.68 MB, free: 5.961 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.306/1.306, allocations: 222.9 MB / 240.4 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.125/2.125, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.89 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6658/0.6672, allocations: 140.4 MB / 1.088 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00447/0.6717, allocations: 4.704 MB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002175/0.6739, allocations: 2.705 MB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.254e-05/0.6739, allocations: 1.125 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.6742, allocations: 45.62 kB / 1.095 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.6744, allocations: 96.67 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.6755, allocations: 0.5008 MB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.6757, allocations: 232.9 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.6758, allocations: 14.28 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.676, allocations: 114.8 kB / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.6761, allocations: 99.69 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.6762, allocations: 7.844 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006359/0.6768, allocations: 362.6 kB / 1.096 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 6.676e-05/0.6769, allocations: 38.61 kB / 1.096 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 9.533e-05/0.677, allocations: 82.34 kB / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006045/0.6776, allocations: 359.1 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.6776, allocations: 0 / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6776, allocations: 0.6875 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.6776, allocations: 0 / 1.097 GB, free: 15.09 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.0006574/0.6783, allocations: 0.5036 MB / 1.097 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.6783, allocations: 10.03 kB / 1.097 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.6784, allocations: 52.8 kB / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.6785, allocations: 23.84 kB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.6788, allocations: 212.7 kB / 1.097 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.6788, allocations: 15.58 kB / 1.097 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.6789, allocations: 15.42 kB / 1.097 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.6792, allocations: 248.5 kB / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.6793, allocations: 0.8125 kB / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.6793, allocations: 11.41 kB / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.6793, allocations: 6.172 kB / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005382/0.6799, allocations: 433.2 kB / 1.098 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.6809, allocations: 0.9511 MB / 1.099 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.6812, allocations: 167 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.801e-05/0.6813, allocations: 60.92 kB / 1.099 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/0.6825, allocations: 1.832 MB / 1.101 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.6826, allocations: 37.09 kB / 1.101 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.6826, allocations: 0.75 kB / 1.101 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003552/0.6829, allocations: 144.8 kB / 1.101 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.683, allocations: 52.5 kB / 1.101 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.6831, allocations: 179.8 kB / 1.101 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.6832, allocations: 27.86 kB / 1.101 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.6832, allocations: 141.5 kB / 1.102 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.6833, allocations: 54.66 kB / 1.102 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/0.6833, allocations: 49.44 kB / 1.102 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.6834, allocations: 322.9 kB / 1.102 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.401e-05/0.6835, allocations: 43.89 kB / 1.102 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.6837, allocations: 144.4 kB / 1.102 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.6839, allocations: 200.3 kB / 1.102 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.6839, allocations: 1.094 kB / 1.102 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003169/0.6842, allocations: 219.6 kB / 1.103 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.6843, allocations: 7.281 kB / 1.103 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6843, allocations: 3.828 kB / 1.103 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.6843, allocations: 9.312 kB / 1.103 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.6845, allocations: 54.53 kB / 1.103 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.6845, allocations: 11.73 kB / 1.103 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.6846, allocations: 27.41 kB / 1.103 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.6846, allocations: 11.59 kB / 1.103 GB, free: 9.793 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.0001146/0.6848, allocations: 137.6 kB / 1.103 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.6848, allocations: 17 kB / 1.103 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.6851, allocations: 154.3 kB / 1.103 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.6851, allocations: 6.469 kB / 1.103 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6851, allocations: 0.7031 kB / 1.103 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.6851, allocations: 0.5625 kB / 1.103 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.6854, allocations: 220.5 kB / 1.103 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6854, allocations: 0.6094 kB / 1.103 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.6855, allocations: 26.48 kB / 1.103 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.6855, allocations: 0.75 kB / 1.103 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.6855, allocations: 6.719 kB / 1.103 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.6855, allocations: 5 kB / 1.103 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6855, allocations: 0.6562 kB / 1.103 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.6858, allocations: 212.7 kB / 1.103 GB, free: 9.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.6859, allocations: 115.4 kB / 1.104 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.6859, allocations: 5.906 kB / 1.104 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.6861, allocations: 19.22 kB / 1.104 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.6861, allocations: 9.188 kB / 1.104 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.6861, allocations: 16.27 kB / 1.104 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.082e-05/0.6862, allocations: 115.9 kB / 1.104 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6862, allocations: 0 / 1.104 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000367/0.6866, allocations: 76.86 kB / 1.104 GB, free: 8.949 MB / 0.8731 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.0006729/0.6873, allocations: 0.83 MB / 1.105 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.6875, allocations: 131.9 kB / 1.105 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6875, allocations: 0.75 kB / 1.105 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.6876, allocations: 46 kB / 1.105 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.688, allocations: 54.67 kB / 1.105 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.69, allocations: 2.025 MB / 1.107 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.6903, allocations: 0.7146 MB / 1.107 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.6905, allocations: 45.59 kB / 1.108 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.6906, allocations: 45.11 kB / 1.108 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.6906, allocations: 3.938 kB / 1.108 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3799/1.07, allocations: 5.261 MB / 1.113 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.958, allocations: 7.875 kB / 1.113 GB, free: 4.992 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_WaterProperties.fmu > 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