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.001518/0.001518, allocations: 108 kB / 15.6 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.001192/0.001192, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.244/1.244, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.149/2.149, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 55.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5041/0.5053, allocations: 140.4 MB / 0.9497 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01135/0.5167, allocations: 12.97 MB / 0.9624 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002449/0.5191, allocations: 2.669 MB / 0.965 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.5192, allocations: 1.469 kB / 0.965 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.5194, allocations: 49.97 kB / 0.965 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.5197, allocations: 95.34 kB / 0.9651 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008987/0.5206, allocations: 0.497 MB / 0.9656 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.5208, allocations: 234.7 kB / 0.9658 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.5208, allocations: 8.625 kB / 0.9658 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007047/0.5279, allocations: 3.579 MB / 0.9693 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.528, allocations: 93.52 kB / 0.9694 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.5281, allocations: 8.281 kB / 0.9694 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.5301, allocations: 1.075 MB / 0.9705 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.5301, allocations: 42.2 kB / 0.9705 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.179e-05/0.5302, allocations: 84.67 kB / 0.9706 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004944/0.5307, allocations: 358.8 kB / 0.971 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.5307, allocations: 3.938 kB / 0.971 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5307, allocations: 0 / 0.971 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.5308, allocations: 0 / 0.971 GB, free: 8.922 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.0006077/0.5314, allocations: 0.4958 MB / 0.9714 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.5314, allocations: 10.59 kB / 0.9715 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.5315, allocations: 51.95 kB / 0.9715 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.5316, allocations: 25.8 kB / 0.9715 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.5318, allocations: 217.6 kB / 0.9717 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.5318, allocations: 15.14 kB / 0.9717 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.5318, allocations: 14.94 kB / 0.9718 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.5322, allocations: 253.3 kB / 0.972 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.5322, allocations: 3.938 kB / 0.972 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.5322, allocations: 11.59 kB / 0.972 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.5322, allocations: 5.531 kB / 0.972 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004368/0.5327, allocations: 436.6 kB / 0.9724 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009646/0.5337, allocations: 0.9537 MB / 0.9734 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.5339, allocations: 164.3 kB / 0.9735 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.677e-05/0.534, allocations: 73.67 kB / 0.9736 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/0.5352, allocations: 1.835 MB / 0.9754 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.5352, allocations: 32 kB / 0.9754 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.5352, allocations: 1.469 kB / 0.9754 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003171/0.5355, allocations: 149.1 kB / 0.9756 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.5356, allocations: 57.88 kB / 0.9756 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.5357, allocations: 169.4 kB / 0.9758 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.5357, allocations: 31.14 kB / 0.9758 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.5358, allocations: 148.2 kB / 0.976 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.5358, allocations: 49.8 kB / 0.976 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.5359, allocations: 57.55 kB / 0.9761 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.536, allocations: 321.5 kB / 0.9764 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.313e-05/0.5361, allocations: 37.25 kB / 0.9764 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.5362, allocations: 137.9 kB / 0.9765 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.5364, allocations: 195.4 kB / 0.9767 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5364, allocations: 1.188 kB / 0.9767 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003048/0.5367, allocations: 222 kB / 0.9769 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.5367, allocations: 7.125 kB / 0.9769 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.5367, allocations: 7.188 kB / 0.9769 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5368, allocations: 9.344 kB / 0.9769 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.5369, allocations: 49.08 kB / 0.977 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.5369, allocations: 12.7 kB / 0.977 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.537, allocations: 24.69 kB / 0.977 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.5371, allocations: 14.38 kB / 0.977 GB, free: 3.16 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 8.923e-05/0.5372, allocations: 134.3 kB / 0.9772 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.5372, allocations: 13.69 kB / 0.9772 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.5375, allocations: 156.5 kB / 0.9773 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.5375, allocations: 10.05 kB / 0.9773 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5375, allocations: 3.938 kB / 0.9773 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5375, allocations: 0 / 0.9773 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.5377, allocations: 214.7 kB / 0.9776 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5378, allocations: 3.984 kB / 0.9776 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.473e-05/0.5378, allocations: 23.91 kB / 0.9776 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5378, allocations: 4 kB / 0.9776 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.5379, allocations: 6.703 kB / 0.9776 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.5379, allocations: 7.922 kB / 0.9776 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5379, allocations: 5.344 kB / 0.9776 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.5381, allocations: 216 kB / 0.9778 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-05/0.5382, allocations: 115.2 kB / 0.9779 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.5382, allocations: 4 kB / 0.9779 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.5384, allocations: 16.14 kB / 0.9779 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.5384, allocations: 16.61 kB / 0.978 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.5385, allocations: 10.91 kB / 0.978 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.416e-05/0.5386, allocations: 115.6 kB / 0.9781 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.5386, allocations: 0 / 0.9781 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003598/0.5389, allocations: 77.95 kB / 0.9781 GB, free: 2.227 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.0006371/0.5396, allocations: 0.8325 MB / 0.979 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.5398, allocations: 126.7 kB / 0.9791 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5398, allocations: 1.562 kB / 0.9791 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.531e-05/0.5399, allocations: 50.53 kB / 0.9791 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.5403, allocations: 51.19 kB / 0.9792 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.5421, allocations: 2.033 MB / 0.9812 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.5423, allocations: 0.7201 MB / 0.9819 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001613/0.5425, allocations: 54.73 kB / 0.9819 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.5426, allocations: 49.58 kB / 0.982 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.5426, allocations: 0 / 0.982 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09951/0.6421, allocations: 5.427 MB / 0.9873 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.64, allocations: 4.75 kB / 0.9873 GB, free: 10.52 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