Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 219 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.071/3.071, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 61.12 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3136, allocations: 179 MB / 1.345 GB, free: 15.85 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0163/0.3299, allocations: 11.96 MB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002927/0.3328, allocations: 2.41 MB / 1.359 GB, free: 1.41 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.3329, allocations: 0 / 1.359 GB, free: 1.41 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.3332, allocations: 47.67 kB / 1.359 GB, free: 1.363 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.3334, allocations: 95.38 kB / 1.36 GB, free: 1.27 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.3348, allocations: 0.5295 MB / 1.36 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.335, allocations: 231.9 kB / 1.36 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.3351, allocations: 9.75 kB / 1.36 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007948/0.343, allocations: 3.569 MB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.3432, allocations: 107.6 kB / 1.364 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.3432, allocations: 8 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.3456, allocations: 1.032 MB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.3457, allocations: 39.83 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.887e-05/0.3458, allocations: 71.72 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006288/0.3464, allocations: 358.8 kB / 1.365 GB, free: 11.31 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3464, allocations: 0 / 1.365 GB, free: 11.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3464, allocations: 4 kB / 1.365 GB, free: 11.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3464, allocations: 4 kB / 1.365 GB, free: 11.3 MB / 1.061 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.0007451/0.3472, allocations: 449.4 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3472, allocations: 12.03 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.951e-05/0.3472, allocations: 4.516 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.452e-05/0.3473, allocations: 54.67 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.3474, allocations: 24.84 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.3477, allocations: 158.3 kB / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.3478, allocations: 12.7 kB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.3478, allocations: 16.12 kB / 1.366 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005008/0.3483, allocations: 491.3 kB / 1.366 GB, free: 9.973 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3483, allocations: 0 / 1.366 GB, free: 9.973 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.3483, allocations: 11.94 kB / 1.366 GB, free: 9.961 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.3483, allocations: 8 kB / 1.366 GB, free: 9.953 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005091/0.3488, allocations: 439.5 kB / 1.367 GB, free: 9.523 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.35, allocations: 0.8203 MB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.3503, allocations: 155.9 kB / 1.368 GB, free: 8.484 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/0.3504, allocations: 52.88 kB / 1.368 GB, free: 8.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007334/0.3511, allocations: 463.8 kB / 1.368 GB, free: 7.957 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.3512, allocations: 38.56 kB / 1.368 GB, free: 7.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.3512, allocations: 0 / 1.368 GB, free: 7.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003321/0.3515, allocations: 148 kB / 1.369 GB, free: 7.762 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.3515, allocations: 55.41 kB / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3517, allocations: 176.3 kB / 1.369 GB, free: 7.512 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.3517, allocations: 33.7 kB / 1.369 GB, free: 7.473 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.3518, allocations: 140.1 kB / 1.369 GB, free: 7.328 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.3519, allocations: 63.5 kB / 1.369 GB, free: 7.266 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.156e-05/0.3519, allocations: 49.7 kB / 1.369 GB, free: 7.211 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3521, allocations: 326.8 kB / 1.369 GB, free: 6.883 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.072e-05/0.3522, allocations: 35.98 kB / 1.369 GB, free: 6.848 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.3523, allocations: 141.6 kB / 1.37 GB, free: 6.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.3526, allocations: 199.3 kB / 1.37 GB, free: 6.418 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3526, allocations: 4 kB / 1.37 GB, free: 6.414 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003365/0.3529, allocations: 205.2 kB / 1.37 GB, free: 6.207 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3529, allocations: 8 kB / 1.37 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3529, allocations: 4 kB / 1.37 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.3529, allocations: 11.88 kB / 1.37 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.3531, allocations: 64.38 kB / 1.37 GB, free: 6.121 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.3531, allocations: 11.94 kB / 1.37 GB, free: 6.109 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.3533, allocations: 31.78 kB / 1.37 GB, free: 6.078 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.3533, allocations: 19.98 kB / 1.37 GB, free: 6.059 MB / 1.061 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.0001279/0.3534, allocations: 133.7 kB / 1.37 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.3535, allocations: 15.91 kB / 1.37 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.3538, allocations: 158.8 kB / 1.37 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3538, allocations: 0 / 1.37 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3538, allocations: 0 / 1.37 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3538, allocations: 3.984 kB / 1.37 GB, free: 5.742 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.3541, allocations: 176.7 kB / 1.371 GB, free: 5.527 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3541, allocations: 0 / 1.371 GB, free: 5.527 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.3542, allocations: 35.92 kB / 1.371 GB, free: 5.492 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.3542, allocations: 0 / 1.371 GB, free: 5.492 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.3542, allocations: 7.938 kB / 1.371 GB, free: 5.484 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3542, allocations: 0 / 1.371 GB, free: 5.484 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.3542, allocations: 11.92 kB / 1.371 GB, free: 5.473 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.3545, allocations: 217.2 kB / 1.371 GB, free: 5.246 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.3546, allocations: 39.8 kB / 1.371 GB, free: 5.207 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.3546, allocations: 7.938 kB / 1.371 GB, free: 5.199 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.3548, allocations: 8 kB / 1.371 GB, free: 5.191 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.3548, allocations: 19.97 kB / 1.371 GB, free: 5.172 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.3548, allocations: 8 kB / 1.371 GB, free: 5.164 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.676e-05/0.3549, allocations: 119.9 kB / 1.371 GB, free: 5.047 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3549, allocations: 0 / 1.371 GB, free: 5.047 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003861/0.3553, allocations: 83.86 kB / 1.371 GB, free: 4.965 MB / 1.061 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.0008276/0.3561, allocations: 0.8467 MB / 1.372 GB, free: 4.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.3564, allocations: 107.8 kB / 1.372 GB, free: 3.984 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3564, allocations: 0 / 1.372 GB, free: 3.984 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.878e-05/0.3565, allocations: 39.92 kB / 1.372 GB, free: 3.945 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.3569, allocations: 56.84 kB / 1.372 GB, free: 3.891 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.3592, allocations: 2.041 MB / 1.374 GB, free: 1.676 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.3593, allocations: 106.5 kB / 1.374 GB, free: 1.555 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.3595, allocations: 53.62 kB / 1.374 GB, free: 1.504 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/0.3596, allocations: 47.42 kB / 1.374 GB, free: 1.461 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3596, allocations: 4 kB / 1.374 GB, free: 1.457 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.387, allocations: 6.027 MB / 1.38 GB, free: 11.63 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.47, allocations: 13.3 kB / 1.38 GB, free: 11.62 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.933514641947113]