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.007161/0.007161, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.00166/0.00166, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.489/2.489, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 70.08 kB / 0.9505 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3019, allocations: 140.4 MB / 1.088 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01842/0.3204, allocations: 12.98 MB / 1.1 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002899/0.3234, allocations: 2.671 MB / 1.103 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.3235, allocations: 0 / 1.103 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.3239, allocations: 39.69 kB / 1.103 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.3243, allocations: 103.3 kB / 1.103 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.3259, allocations: 0.5018 MB / 1.103 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.3263, allocations: 231.9 kB / 1.104 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.655e-05/0.3264, allocations: 9.562 kB / 1.104 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009231/0.3356, allocations: 3.583 MB / 1.107 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.3359, allocations: 91.59 kB / 1.107 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.3359, allocations: 12 kB / 1.107 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002996/0.3389, allocations: 1.069 MB / 1.108 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.74e-05/0.339, allocations: 39.89 kB / 1.108 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.3391, allocations: 79.64 kB / 1.108 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.3403, allocations: 371 kB / 1.109 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3403, allocations: 4 kB / 1.109 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3403, allocations: 0 / 1.109 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3403, allocations: 4 kB / 1.109 GB, free: 12.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.0008764/0.3412, allocations: 0.4992 MB / 1.109 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.3413, allocations: 12.03 kB / 1.109 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.476e-05/0.3413, allocations: 50.73 kB / 1.109 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.3415, allocations: 20.75 kB / 1.109 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.3418, allocations: 220.2 kB / 1.11 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3419, allocations: 16.64 kB / 1.11 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.3419, allocations: 16.38 kB / 1.11 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.3423, allocations: 248 kB / 1.11 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3424, allocations: 4 kB / 1.11 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.3424, allocations: 4 kB / 1.11 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.3424, allocations: 8 kB / 1.11 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005277/0.343, allocations: 435.3 kB / 1.11 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.3442, allocations: 0.9682 MB / 1.111 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.3445, allocations: 159.1 kB / 1.111 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3446, allocations: 60.88 kB / 1.111 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/0.346, allocations: 1.825 MB / 1.113 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.3461, allocations: 46.5 kB / 1.113 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.3461, allocations: 0 / 1.113 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003599/0.3465, allocations: 143.3 kB / 1.113 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3465, allocations: 59.39 kB / 1.113 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.3467, allocations: 163.3 kB / 1.114 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.3467, allocations: 33.7 kB / 1.114 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/0.3468, allocations: 139.8 kB / 1.114 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.3468, allocations: 51.2 kB / 1.114 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-05/0.3469, allocations: 53.61 kB / 1.114 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.347, allocations: 330.8 kB / 1.114 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.976e-05/0.3471, allocations: 31.97 kB / 1.114 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.3472, allocations: 147.1 kB / 1.114 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.3475, allocations: 197.5 kB / 1.115 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3475, allocations: 0 / 1.115 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003323/0.3478, allocations: 216.6 kB / 1.115 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3479, allocations: 4 kB / 1.115 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3479, allocations: 8 kB / 1.115 GB, free: 5.223 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3479, allocations: 11.94 kB / 1.115 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.3481, allocations: 51.92 kB / 1.115 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3481, allocations: 4 kB / 1.115 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.3482, allocations: 31.67 kB / 1.115 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.3483, allocations: 12 kB / 1.115 GB, free: 5.113 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.0001335/0.3484, allocations: 133.7 kB / 1.115 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.779e-05/0.3485, allocations: 15.81 kB / 1.115 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/0.3488, allocations: 163.1 kB / 1.115 GB, free: 4.793 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.3488, allocations: 7.875 kB / 1.115 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3488, allocations: 0 / 1.115 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.3488, allocations: 11.97 kB / 1.115 GB, free: 4.773 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.3491, allocations: 213.5 kB / 1.115 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3491, allocations: 0 / 1.115 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.509e-05/0.3492, allocations: 23.98 kB / 1.115 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3492, allocations: 0 / 1.115 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.3492, allocations: 4 kB / 1.115 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3492, allocations: 3.938 kB / 1.115 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3493, allocations: 7.938 kB / 1.115 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.3495, allocations: 227.1 kB / 1.116 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-05/0.3496, allocations: 105 kB / 1.116 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.3496, allocations: 0 / 1.116 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.3499, allocations: 19.94 kB / 1.116 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.3499, allocations: 11.98 kB / 1.116 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.3499, allocations: 11.98 kB / 1.116 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.734e-05/0.35, allocations: 128.9 kB / 1.116 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.2e-07/0.35, allocations: 0 / 1.116 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004086/0.3504, allocations: 83.92 kB / 1.116 GB, free: 3.867 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.0007732/0.3512, allocations: 0.8321 MB / 1.117 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002488/0.3515, allocations: 119.7 kB / 1.117 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3515, allocations: 0.9375 kB / 1.117 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.132e-05/0.3516, allocations: 43.92 kB / 1.117 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.352, allocations: 63.17 kB / 1.117 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.3544, allocations: 2.048 MB / 1.119 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.3547, allocations: 0.709 MB / 1.12 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.3549, allocations: 57.72 kB / 1.12 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/0.355, allocations: 47.42 kB / 1.12 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of SimCode: time 4.4e-07/0.355, allocations: 4 kB / 1.12 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.3785, allocations: 5.527 MB / 1.125 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.498, allocations: 10.12 kB / 1.125 GB, free: 10.33 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