Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.006935/0.006935, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001624/0.001624, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.18 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.157/2.157, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 55.91 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6167/0.618, allocations: 140.4 MB / 1.088 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01319/0.6312, allocations: 12.96 MB / 1.1 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002641/0.6339, allocations: 2.671 MB / 1.103 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.634, allocations: 2.156 kB / 1.103 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.6343, allocations: 45.42 kB / 1.103 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.6346, allocations: 98.06 kB / 1.103 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.6356, allocations: 0.4961 MB / 1.103 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.6358, allocations: 233.8 kB / 1.104 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.6359, allocations: 9.875 kB / 1.104 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009185/0.6451, allocations: 3.588 MB / 1.107 GB, free: 8.531 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.6453, allocations: 87.89 kB / 1.107 GB, free: 8.496 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.6453, allocations: 7.062 kB / 1.107 GB, free: 8.496 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.6477, allocations: 1.087 MB / 1.108 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.6478, allocations: 38.73 kB / 1.108 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.6479, allocations: 86.89 kB / 1.108 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006539/0.6486, allocations: 357.3 kB / 1.109 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6486, allocations: 0 / 1.109 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6486, allocations: 0 / 1.109 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.6486, allocations: 0 / 1.109 GB, free: 7.91 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.0006736/0.6493, allocations: 0.5068 MB / 1.109 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.6493, allocations: 10.25 kB / 1.109 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.117e-05/0.6494, allocations: 57.66 kB / 1.109 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.6495, allocations: 22.14 kB / 1.109 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.6498, allocations: 216.2 kB / 1.11 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.6498, allocations: 10.8 kB / 1.11 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.6499, allocations: 15.78 kB / 1.11 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.6502, allocations: 253.2 kB / 1.11 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.6502, allocations: 0 / 1.11 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.6503, allocations: 7.844 kB / 1.11 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.6503, allocations: 6.078 kB / 1.11 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/0.6508, allocations: 433.4 kB / 1.11 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009751/0.6518, allocations: 0.9674 MB / 1.111 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.652, allocations: 156.1 kB / 1.111 GB, free: 6.023 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.6521, allocations: 65.47 kB / 1.111 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.6533, allocations: 1.832 MB / 1.113 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.6533, allocations: 36.03 kB / 1.113 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 2.374e-06/0.6533, allocations: 1.281 kB / 1.113 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0002952/0.6536, allocations: 148.8 kB / 1.113 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.6537, allocations: 57.16 kB / 1.113 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.6538, allocations: 172.2 kB / 1.114 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.6538, allocations: 35.83 kB / 1.114 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.6539, allocations: 140.9 kB / 1.114 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.654, allocations: 54.58 kB / 1.114 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.654, allocations: 52.95 kB / 1.114 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.604e-05/0.6541, allocations: 327.6 kB / 1.114 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.18e-05/0.6542, allocations: 30.3 kB / 1.114 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.6543, allocations: 144.6 kB / 1.114 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.6545, allocations: 196.9 kB / 1.115 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6545, allocations: 1.25 kB / 1.115 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002914/0.6548, allocations: 217 kB / 1.115 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.6548, allocations: 6.531 kB / 1.115 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6549, allocations: 4.297 kB / 1.115 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.6549, allocations: 8.781 kB / 1.115 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.655, allocations: 54.23 kB / 1.115 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.6551, allocations: 15.09 kB / 1.115 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.971e-05/0.6552, allocations: 27.97 kB / 1.115 GB, free: 2.613 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.6552, allocations: 15.72 kB / 1.115 GB, free: 2.609 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 9.069e-05/0.6553, allocations: 134.9 kB / 1.115 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.6553, allocations: 16.72 kB / 1.115 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.6556, allocations: 154.2 kB / 1.115 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.6556, allocations: 7.359 kB / 1.115 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6556, allocations: 0 / 1.115 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.6556, allocations: 1.859 kB / 1.115 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.6559, allocations: 216.4 kB / 1.115 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6559, allocations: 0 / 1.115 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.119e-05/0.656, allocations: 30.92 kB / 1.115 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.656, allocations: 1.375 kB / 1.115 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.656, allocations: 10.28 kB / 1.115 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.656, allocations: 3.938 kB / 1.115 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.656, allocations: 1.531 kB / 1.115 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.6562, allocations: 218 kB / 1.116 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-05/0.6563, allocations: 112.2 kB / 1.116 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.6563, allocations: 1.922 kB / 1.116 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.6565, allocations: 27.06 kB / 1.116 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.6566, allocations: 8.594 kB / 1.116 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.6566, allocations: 12.36 kB / 1.116 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.484e-05/0.6567, allocations: 120.2 kB / 1.116 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6567, allocations: 0 / 1.116 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003561/0.657, allocations: 72.09 kB / 1.116 GB, free: 1.762 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.0005967/0.6576, allocations: 0.8357 MB / 1.117 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.6579, allocations: 120.2 kB / 1.117 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6579, allocations: 5.469 kB / 1.117 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.185e-05/0.6579, allocations: 40.67 kB / 1.117 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.6584, allocations: 62.78 kB / 1.117 GB, free: 0.9688 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.6604, allocations: 2.034 MB / 1.119 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.6606, allocations: 0.7149 MB / 1.12 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001576/0.6608, allocations: 48.98 kB / 1.12 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/0.6609, allocations: 49.77 kB / 1.12 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of SimCode: time 2.7e-07/0.6609, allocations: 3.938 kB / 1.12 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3867/1.048, allocations: 5.486 MB / 1.125 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.95, allocations: 5.797 kB / 1.125 GB, free: 13.76 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches