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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001162/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001155/0.001155, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.176/1.176, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.141/2.141, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5134/0.5148, allocations: 140.4 MB / 0.949 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01392/0.5288, allocations: 13.87 MB / 0.9626 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002776/0.5316, allocations: 2.696 MB / 0.9652 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.5317, allocations: 1.312 kB / 0.9652 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.5319, allocations: 42.61 kB / 0.9653 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.5322, allocations: 86.58 kB / 0.9653 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.5334, allocations: 470.3 kB / 0.9658 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.5337, allocations: 301.8 kB / 0.9661 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.5337, allocations: 16.83 kB / 0.9661 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007475/0.5412, allocations: 3.142 MB / 0.9692 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.5414, allocations: 95 kB / 0.9693 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.5414, allocations: 10.47 kB / 0.9693 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.5439, allocations: 0.9855 MB / 0.9702 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.544, allocations: 34.7 kB / 0.9703 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.5441, allocations: 81.22 kB / 0.9703 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007179/0.5448, allocations: 370.4 kB / 0.9707 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5448, allocations: 1.438 kB / 0.9707 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5448, allocations: 0 / 0.9707 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.5448, allocations: 0 / 0.9707 GB, free: 8.754 MB / 0.7325 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.000696/0.5455, allocations: 0.4938 MB / 0.9712 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.5456, allocations: 13.25 kB / 0.9712 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.5456, allocations: 53.23 kB / 0.9712 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.5458, allocations: 25.86 kB / 0.9713 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.546, allocations: 216.9 kB / 0.9715 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.546, allocations: 15.33 kB / 0.9715 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.546, allocations: 14.66 kB / 0.9715 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.5464, allocations: 250.3 kB / 0.9717 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.5464, allocations: 3.938 kB / 0.9717 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.5465, allocations: 7.438 kB / 0.9718 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.5465, allocations: 8.562 kB / 0.9718 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.547, allocations: 433.2 kB / 0.9722 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.5481, allocations: 0.9574 MB / 0.9731 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.5484, allocations: 157.7 kB / 0.9733 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.5485, allocations: 69.03 kB / 0.9733 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/0.5498, allocations: 1.832 MB / 0.9751 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.5498, allocations: 35.75 kB / 0.9751 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.5499, allocations: 0.9062 kB / 0.9751 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003325/0.5502, allocations: 149.1 kB / 0.9753 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.5502, allocations: 53.22 kB / 0.9753 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.5504, allocations: 172.8 kB / 0.9755 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.5504, allocations: 31.89 kB / 0.9755 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.5505, allocations: 143.6 kB / 0.9757 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.5505, allocations: 45.86 kB / 0.9757 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.197e-05/0.5506, allocations: 56.42 kB / 0.9758 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.5507, allocations: 330.9 kB / 0.9761 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-05/0.5508, allocations: 36.97 kB / 0.9761 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.551, allocations: 145.7 kB / 0.9763 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.5512, allocations: 196.6 kB / 0.9764 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5512, allocations: 0.9062 kB / 0.9764 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000345/0.5516, allocations: 225.8 kB / 0.9767 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.5516, allocations: 6.125 kB / 0.9767 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5516, allocations: 4.312 kB / 0.9767 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.5516, allocations: 9.656 kB / 0.9767 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.5518, allocations: 48.33 kB / 0.9767 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.5518, allocations: 12.98 kB / 0.9767 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.552, allocations: 33.34 kB / 0.9768 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.552, allocations: 14.69 kB / 0.9768 GB, free: 2.984 MB / 0.7325 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.0001166/0.5521, allocations: 130.1 kB / 0.9769 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.5522, allocations: 13.06 kB / 0.9769 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.5525, allocations: 156.3 kB / 0.9771 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.5525, allocations: 10.58 kB / 0.9771 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5525, allocations: 0 / 0.9771 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.5525, allocations: 1.094 kB / 0.9771 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.5528, allocations: 217.6 kB / 0.9773 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5528, allocations: 0 / 0.9773 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.494e-05/0.5529, allocations: 27.81 kB / 0.9773 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5529, allocations: 0 / 0.9773 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.5529, allocations: 9.984 kB / 0.9773 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.5529, allocations: 4.969 kB / 0.9773 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5529, allocations: 0 / 0.9773 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.5532, allocations: 218.4 kB / 0.9775 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.814e-05/0.5533, allocations: 111 kB / 0.9776 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.5533, allocations: 5.125 kB / 0.9777 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.5535, allocations: 15.52 kB / 0.9777 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.5536, allocations: 21.7 kB / 0.9777 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.5536, allocations: 10.16 kB / 0.9777 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.462e-05/0.5537, allocations: 115.4 kB / 0.9778 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5537, allocations: 1.062 kB / 0.9778 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004026/0.5541, allocations: 81.8 kB / 0.9779 GB, free: 2.059 MB / 0.7325 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.0007388/0.5548, allocations: 0.8344 MB / 0.9787 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.5551, allocations: 118.2 kB / 0.9788 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5551, allocations: 3.938 kB / 0.9788 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.5552, allocations: 55.86 kB / 0.9789 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.5556, allocations: 44.69 kB / 0.9789 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.5578, allocations: 2.073 MB / 0.9809 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.5581, allocations: 0.7127 MB / 0.9816 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002/0.5583, allocations: 50.91 kB / 0.9817 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.5584, allocations: 48.64 kB / 0.9817 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of SimCode: time 1.603e-06/0.5584, allocations: 0 / 0.9817 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2868/0.8451, allocations: 5.226 MB / 0.9868 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.8453, allocations: 209.5 kB / 0.987 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.729, allocations: 3.75 kB / 0.987 GB, free: 10.32 MB / 0.7481 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