Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001445/0.001445, allocations: 103.1 kB / 16.45 MB, free: 6.449 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.001522/0.001522, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.391/1.391, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.011/3.011, allocations: 0.49 GB / 0.7916 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",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.001936/0.001936, allocations: 67.42 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3079, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01825/0.3261, allocations: 13.14 MB / 1.334 GB, free: 6.109 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003269/0.3294, allocations: 2.671 MB / 1.336 GB, free: 3.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.3295, allocations: 4 kB / 1.336 GB, free: 3.426 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.3297, allocations: 51.67 kB / 1.336 GB, free: 3.375 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.33, allocations: 91.42 kB / 1.336 GB, free: 3.285 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.3313, allocations: 0.5224 MB / 1.337 GB, free: 2.766 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.3316, allocations: 231.9 kB / 1.337 GB, free: 2.539 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.3317, allocations: 13.5 kB / 1.337 GB, free: 2.523 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007829/0.3395, allocations: 3.597 MB / 1.341 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.3397, allocations: 99.58 kB / 1.341 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.3397, allocations: 8 kB / 1.341 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.3422, allocations: 1.099 MB / 1.342 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.534e-05/0.3423, allocations: 43.83 kB / 1.342 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.676e-05/0.3424, allocations: 79.64 kB / 1.342 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007034/0.3431, allocations: 378.7 kB / 1.342 GB, free: 13.21 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3431, allocations: 4 kB / 1.342 GB, free: 13.21 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3431, allocations: 0 / 1.342 GB, free: 13.21 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.3431, allocations: 0 / 1.342 GB, free: 13.21 MB / 1.045 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.0007737/0.3438, allocations: 0.5142 MB / 1.343 GB, free: 12.65 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3439, allocations: 11.98 kB / 1.343 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.3439, allocations: 50.73 kB / 1.343 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.3441, allocations: 28.78 kB / 1.343 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.3443, allocations: 212.2 kB / 1.343 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.3444, allocations: 12.7 kB / 1.343 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.3444, allocations: 16.38 kB / 1.343 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.3448, allocations: 255.8 kB / 1.343 GB, free: 12.01 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3448, allocations: 0 / 1.343 GB, free: 12.01 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.3448, allocations: 15.98 kB / 1.343 GB, free: 11.99 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.3448, allocations: 4 kB / 1.343 GB, free: 11.99 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005295/0.3454, allocations: 423.5 kB / 1.344 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.3466, allocations: 0.9683 MB / 1.345 GB, free: 10.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.3469, allocations: 147.1 kB / 1.345 GB, free: 10.37 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.347, allocations: 60.88 kB / 1.345 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/0.3485, allocations: 1.833 MB / 1.347 GB, free: 8.113 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.3486, allocations: 38.5 kB / 1.347 GB, free: 8.066 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.3486, allocations: 0 / 1.347 GB, free: 8.066 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0003507/0.3489, allocations: 149.4 kB / 1.347 GB, free: 7.914 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.349, allocations: 59.41 kB / 1.347 GB, free: 7.844 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.3491, allocations: 171.9 kB / 1.347 GB, free: 7.664 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.3491, allocations: 33.7 kB / 1.347 GB, free: 7.625 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.3492, allocations: 136.2 kB / 1.347 GB, free: 7.488 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.3493, allocations: 55.47 kB / 1.347 GB, free: 7.434 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.483e-05/0.3494, allocations: 53.7 kB / 1.347 GB, free: 7.375 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3495, allocations: 326.8 kB / 1.348 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.946e-05/0.3496, allocations: 31.98 kB / 1.348 GB, free: 7.016 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.3497, allocations: 145.7 kB / 1.348 GB, free: 6.824 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.35, allocations: 207.9 kB / 1.348 GB, free: 6.574 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.35, allocations: 0 / 1.348 GB, free: 6.574 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003497/0.3504, allocations: 221.1 kB / 1.348 GB, free: 6.352 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3504, allocations: 4 kB / 1.348 GB, free: 6.348 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.3504, allocations: 4 kB / 1.348 GB, free: 6.344 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.3504, allocations: 16.39 kB / 1.348 GB, free: 6.328 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.3506, allocations: 51.91 kB / 1.348 GB, free: 6.277 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3506, allocations: 8 kB / 1.348 GB, free: 6.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.3507, allocations: 27.78 kB / 1.348 GB, free: 6.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.3507, allocations: 20 kB / 1.348 GB, free: 6.223 MB / 1.045 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.0001203/0.3508, allocations: 129.7 kB / 1.349 GB, free: 6.086 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.3509, allocations: 23.83 kB / 1.349 GB, free: 6.062 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.3512, allocations: 154.9 kB / 1.349 GB, free: 5.902 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.3512, allocations: 3.938 kB / 1.349 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3512, allocations: 0 / 1.349 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3512, allocations: 4 kB / 1.349 GB, free: 5.895 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.3515, allocations: 221.5 kB / 1.349 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3515, allocations: 0 / 1.349 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/0.3516, allocations: 23.98 kB / 1.349 GB, free: 5.605 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3516, allocations: 4 kB / 1.349 GB, free: 5.602 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3516, allocations: 0 / 1.349 GB, free: 5.602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.3516, allocations: 7.922 kB / 1.349 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3516, allocations: 3.938 kB / 1.349 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.3519, allocations: 230.1 kB / 1.349 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.352, allocations: 109 kB / 1.349 GB, free: 5.227 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.352, allocations: 4 kB / 1.349 GB, free: 5.223 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.3522, allocations: 15.92 kB / 1.349 GB, free: 5.207 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.3522, allocations: 15.98 kB / 1.349 GB, free: 5.191 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.3523, allocations: 8 kB / 1.349 GB, free: 5.184 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.107e-05/0.3524, allocations: 119.9 kB / 1.349 GB, free: 5.066 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3524, allocations: 0 / 1.349 GB, free: 5.066 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003963/0.3528, allocations: 83.81 kB / 1.35 GB, free: 4.984 MB / 1.045 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.0007812/0.3535, allocations: 0.8448 MB / 1.35 GB, free: 4.109 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.3538, allocations: 110.4 kB / 1.35 GB, free: 4.004 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3538, allocations: 4 kB / 1.351 GB, free: 4 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.005e-05/0.3538, allocations: 39.92 kB / 1.351 GB, free: 3.961 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.3543, allocations: 68.7 kB / 1.351 GB, free: 3.895 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.3567, allocations: 2.025 MB / 1.353 GB, free: 1.699 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.357, allocations: 0.7128 MB / 1.353 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001613/0.3572, allocations: 45.75 kB / 1.353 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.3573, allocations: 55.41 kB / 1.353 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.3573, allocations: 0 / 1.353 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.3878, allocations: 5.561 MB / 1.359 GB, free: 11.44 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/8.164, allocations: 5.312 kB / 1.359 GB, free: 11.44 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.3668407429941]