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.007118/0.007118, allocations: 102.5 kB / 15.73 MB, free: 6 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.001642/0.001642, allocations: 194.3 kB / 16.67 MB, free: 5.926 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.337/2.337, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 67.88 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9666/0.9682, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006522/0.9747, allocations: 4.727 MB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004367/0.9791, allocations: 2.701 MB / 1.095 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.9793, allocations: 4.625 kB / 1.095 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003911/0.9798, allocations: 46.02 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0005043/0.9803, allocations: 97.31 kB / 1.095 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.9829, allocations: 0.4894 MB / 1.095 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0006377/0.9836, allocations: 237.3 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 8.217e-05/0.9837, allocations: 10.36 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004548/0.9841, allocations: 122.6 kB / 1.096 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.9845, allocations: 87.73 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.9845, allocations: 8.031 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.9861, allocations: 374 kB / 1.096 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.9862, allocations: 34.45 kB / 1.096 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.9865, allocations: 79.06 kB / 1.096 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.988, allocations: 362.3 kB / 1.097 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.988, allocations: 0.5312 kB / 1.097 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.034e-06/0.988, allocations: 0.9062 kB / 1.097 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.9881, allocations: 0 / 1.097 GB, free: 15.07 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.001414/0.9895, allocations: 0.5075 MB / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/0.9896, allocations: 10.28 kB / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.9897, allocations: 48.25 kB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003292/0.99, allocations: 23.58 kB / 1.097 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.9906, allocations: 214 kB / 1.097 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.9906, allocations: 10.92 kB / 1.097 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.9907, allocations: 15 kB / 1.097 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000696/0.9914, allocations: 253.8 kB / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.9914, allocations: 0 / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.9915, allocations: 7.062 kB / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/0.9915, allocations: 6.453 kB / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.9926, allocations: 433.2 kB / 1.098 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.9948, allocations: 0.9462 MB / 1.099 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/0.9955, allocations: 163.3 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.9957, allocations: 64.91 kB / 1.099 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002639/0.9983, allocations: 1.825 MB / 1.101 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/0.9984, allocations: 37.25 kB / 1.101 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 3.006e-06/0.9984, allocations: 3.938 kB / 1.101 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0006431/0.9991, allocations: 148 kB / 1.101 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.9992, allocations: 58.19 kB / 1.101 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.9995, allocations: 174.9 kB / 1.101 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/0.9996, allocations: 32.7 kB / 1.101 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.9997, allocations: 141.2 kB / 1.102 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.979e-05/0.9998, allocations: 50.89 kB / 1.102 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/1, allocations: 50.33 kB / 1.102 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1, allocations: 325.8 kB / 1.102 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/1, allocations: 39.38 kB / 1.102 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/1.001, allocations: 144.8 kB / 1.102 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/1.001, allocations: 204 kB / 1.102 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/1.001, allocations: 1.25 kB / 1.102 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005936/1.002, allocations: 212.5 kB / 1.103 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/1.002, allocations: 11.52 kB / 1.103 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/1.002, allocations: 3.312 kB / 1.103 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/1.002, allocations: 9.703 kB / 1.103 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/1.002, allocations: 55.3 kB / 1.103 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/1.002, allocations: 9.562 kB / 1.103 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/1.002, allocations: 28.62 kB / 1.103 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/1.002, allocations: 15.02 kB / 1.103 GB, free: 9.781 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.0001886/1.003, allocations: 133.9 kB / 1.103 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.249e-05/1.003, allocations: 17.16 kB / 1.103 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005301/1.003, allocations: 162.4 kB / 1.103 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/1.003, allocations: 6.75 kB / 1.103 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/1.003, allocations: 4.797 kB / 1.103 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/1.003, allocations: 0.7969 kB / 1.103 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/1.004, allocations: 212.4 kB / 1.103 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.004, allocations: 0 / 1.103 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/1.004, allocations: 26.84 kB / 1.103 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/1.004, allocations: 1.094 kB / 1.103 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/1.004, allocations: 1.953 kB / 1.103 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/1.004, allocations: 5.062 kB / 1.103 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/1.004, allocations: 0.8438 kB / 1.103 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005432/1.005, allocations: 228.2 kB / 1.103 GB, free: 9.156 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/1.005, allocations: 112 kB / 1.104 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/1.005, allocations: 1.719 kB / 1.104 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/1.005, allocations: 18.77 kB / 1.104 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/1.005, allocations: 8.969 kB / 1.104 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/1.005, allocations: 13.06 kB / 1.104 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000182/1.006, allocations: 120 kB / 1.104 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/1.006, allocations: 0 / 1.104 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008897/1.006, allocations: 71.66 kB / 1.104 GB, free: 8.938 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.001481/1.008, allocations: 0.8234 MB / 1.105 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004841/1.008, allocations: 128.1 kB / 1.105 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/1.008, allocations: 5.312 kB / 1.105 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/1.009, allocations: 44.69 kB / 1.105 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008356/1.01, allocations: 69.28 kB / 1.105 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004628/1.014, allocations: 2.029 MB / 1.107 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/1.015, allocations: 0.7113 MB / 1.108 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003281/1.015, allocations: 48.78 kB / 1.108 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/1.015, allocations: 53.69 kB / 1.108 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/1.015, allocations: 0 / 1.108 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03563/1.051, allocations: 5.314 MB / 1.113 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.92, allocations: 1.312 kB / 1.113 GB, free: 4.969 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