Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_10_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.008201/0.0082, allocations: 103.6 kB / 15.73 MB, free: 6.039 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.00211/0.00211, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.695/2.695, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3077, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0167/0.3245, allocations: 12.97 MB / 1.179 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002942/0.3275, allocations: 2.671 MB / 1.181 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.3276, allocations: 0 / 1.181 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.328, allocations: 51.66 kB / 1.182 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.3284, allocations: 95.38 kB / 1.182 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.3298, allocations: 0.5093 MB / 1.182 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.3302, allocations: 231.9 kB / 1.182 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.786e-05/0.3303, allocations: 13.55 kB / 1.182 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008911/0.3392, allocations: 3.59 MB / 1.186 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.3394, allocations: 87.66 kB / 1.186 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.3395, allocations: 11.94 kB / 1.186 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002731/0.3422, allocations: 1.077 MB / 1.187 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.382e-05/0.3423, allocations: 39.83 kB / 1.187 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.3424, allocations: 83.64 kB / 1.187 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008617/0.3433, allocations: 363 kB / 1.187 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3433, allocations: 4 kB / 1.187 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3433, allocations: 0 / 1.187 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3433, allocations: 0 / 1.187 GB, free: 1.398 MB / 0.9356 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.0007886/0.3441, allocations: 0.507 MB / 1.188 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3442, allocations: 8.031 kB / 1.188 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.79e-05/0.3442, allocations: 50.73 kB / 1.188 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.3444, allocations: 24.73 kB / 1.188 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.3447, allocations: 212.1 kB / 1.188 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3447, allocations: 12.7 kB / 1.188 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.3448, allocations: 24.31 kB / 1.188 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.3452, allocations: 248 kB / 1.189 GB, free: 216 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3452, allocations: 0 / 1.189 GB, free: 216 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.3452, allocations: 12 kB / 1.189 GB, free: 204 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.3452, allocations: 7.984 kB / 1.189 GB, free: 196 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005014/0.3458, allocations: 427.5 kB / 1.189 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.3469, allocations: 0.9604 MB / 1.19 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.3472, allocations: 169.1 kB / 1.19 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.964e-05/0.3473, allocations: 60.88 kB / 1.19 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/0.3487, allocations: 1.837 MB / 1.192 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3487, allocations: 30.56 kB / 1.192 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.532e-06/0.3487, allocations: 0 / 1.192 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003792/0.3491, allocations: 159.1 kB / 1.192 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.3492, allocations: 55.41 kB / 1.192 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.3493, allocations: 168 kB / 1.192 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3493, allocations: 29.7 kB / 1.192 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.3494, allocations: 139.8 kB / 1.192 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.3495, allocations: 51.2 kB / 1.193 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.3496, allocations: 57.61 kB / 1.193 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3497, allocations: 322.8 kB / 1.193 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.3498, allocations: 35.97 kB / 1.193 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.3499, allocations: 143.2 kB / 1.193 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.3502, allocations: 199.6 kB / 1.193 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3502, allocations: 4 kB / 1.193 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003437/0.3506, allocations: 209.2 kB / 1.193 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3506, allocations: 8 kB / 1.193 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3506, allocations: 4 kB / 1.193 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3506, allocations: 11.94 kB / 1.193 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.3508, allocations: 56.31 kB / 1.194 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.3508, allocations: 12 kB / 1.194 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.351, allocations: 27.69 kB / 1.194 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.351, allocations: 16 kB / 1.194 GB, free: 10.43 MB / 0.9512 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.0001127/0.3511, allocations: 129.7 kB / 1.194 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.3512, allocations: 15.81 kB / 1.194 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.3515, allocations: 158.8 kB / 1.194 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.3515, allocations: 7.938 kB / 1.194 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3515, allocations: 0 / 1.194 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3515, allocations: 0 / 1.194 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.3518, allocations: 221.5 kB / 1.194 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3518, allocations: 0 / 1.194 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.139e-05/0.3519, allocations: 24 kB / 1.194 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.3519, allocations: 3.984 kB / 1.194 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3519, allocations: 7.938 kB / 1.194 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3519, allocations: 3.938 kB / 1.194 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3519, allocations: 0 / 1.194 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.3522, allocations: 220.9 kB / 1.194 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/0.3523, allocations: 116.9 kB / 1.194 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.3523, allocations: 4 kB / 1.194 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.3525, allocations: 19.92 kB / 1.194 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.3526, allocations: 7.984 kB / 1.194 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.3526, allocations: 12 kB / 1.194 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.45e-05/0.3527, allocations: 116 kB / 1.195 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3527, allocations: 0 / 1.195 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004154/0.3531, allocations: 83.92 kB / 1.195 GB, free: 9.199 MB / 0.9512 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.0007356/0.3538, allocations: 0.8359 MB / 1.195 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.3541, allocations: 123.7 kB / 1.196 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3541, allocations: 0 / 1.196 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.322e-05/0.3542, allocations: 43.92 kB / 1.196 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.3546, allocations: 66.8 kB / 1.196 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.3569, allocations: 2.038 MB / 1.198 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.3573, allocations: 0.7128 MB / 1.198 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001866/0.3575, allocations: 49.69 kB / 1.198 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.3575, allocations: 47.42 kB / 1.198 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.3575, allocations: 0 / 1.198 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.3815, allocations: 5.487 MB / 1.204 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.448, allocations: 3.953 kB / 1.204 GB, free: 15.72 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches