Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001326/0.001326, allocations: 120 kB / 17.17 MB, free: 5.977 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.001405/0.001405, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.597/1.597, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.988/2.988, allocations: 476.7 MB / 0.7678 GB, free: 9.32 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_11_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.002239/0.002239, allocations: 67.91 kB / 1.113 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.12, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01976/1.14, allocations: 13.14 MB / 1.292 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003502/1.143, allocations: 2.673 MB / 1.294 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/1.144, allocations: 1.406 kB / 1.294 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003288/1.144, allocations: 50.14 kB / 1.294 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00037/1.144, allocations: 102.2 kB / 1.295 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/1.146, allocations: 0.5106 MB / 1.295 GB, free: 412 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004045/1.146, allocations: 232.9 kB / 1.295 GB, free: 308 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.915e-05/1.146, allocations: 15.58 kB / 1.295 GB, free: 300 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01204/1.158, allocations: 3.599 MB / 1.299 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/1.159, allocations: 94.73 kB / 1.299 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/1.159, allocations: 8.344 kB / 1.299 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003768/1.163, allocations: 1.106 MB / 1.3 GB, free: 14.4 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/1.163, allocations: 39.23 kB / 1.3 GB, free: 14.38 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/1.163, allocations: 85.34 kB / 1.3 GB, free: 14.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/1.164, allocations: 372.3 kB / 1.3 GB, free: 14.21 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.164, allocations: 4.453 kB / 1.3 GB, free: 14.21 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.993e-06/1.164, allocations: 1.406 kB / 1.3 GB, free: 14.21 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.622e-06/1.164, allocations: 0 / 1.3 GB, free: 14.21 MB / 1.014 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.001011/1.165, allocations: 0.5057 MB / 1.301 GB, free: 13.76 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.165, allocations: 9.656 kB / 1.301 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.532e-05/1.165, allocations: 8.703 kB / 1.301 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.486e-05/1.165, allocations: 53.14 kB / 1.301 GB, free: 13.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/1.165, allocations: 23.36 kB / 1.301 GB, free: 13.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/1.166, allocations: 227.8 kB / 1.301 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/1.166, allocations: 19.17 kB / 1.301 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/1.166, allocations: 18.09 kB / 1.301 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/1.166, allocations: 254.4 kB / 1.302 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.166, allocations: 0 / 1.302 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/1.166, allocations: 7.875 kB / 1.302 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/1.166, allocations: 5.938 kB / 1.302 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006287/1.167, allocations: 425 kB / 1.302 GB, free: 13.22 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/1.169, allocations: 0.9641 MB / 1.303 GB, free: 12.37 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/1.169, allocations: 150.1 kB / 1.303 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/1.169, allocations: 68 kB / 1.303 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/1.171, allocations: 1.836 MB / 1.305 GB, free: 10.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/1.171, allocations: 37.45 kB / 1.305 GB, free: 10.19 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/1.171, allocations: 0 / 1.305 GB, free: 10.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0004061/1.171, allocations: 149.4 kB / 1.305 GB, free: 10.12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/1.171, allocations: 56.75 kB / 1.305 GB, free: 10.05 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/1.171, allocations: 167.6 kB / 1.305 GB, free: 9.926 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/1.171, allocations: 36.78 kB / 1.305 GB, free: 9.887 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/1.172, allocations: 142.2 kB / 1.305 GB, free: 9.758 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/1.172, allocations: 58.38 kB / 1.306 GB, free: 9.711 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/1.172, allocations: 54.02 kB / 1.306 GB, free: 9.676 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.172, allocations: 325.4 kB / 1.306 GB, free: 9.355 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/1.172, allocations: 31.23 kB / 1.306 GB, free: 9.352 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/1.172, allocations: 141.1 kB / 1.306 GB, free: 9.207 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/1.172, allocations: 197.6 kB / 1.306 GB, free: 9.027 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.172, allocations: 1.312 kB / 1.306 GB, free: 9.027 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003869/1.173, allocations: 217.7 kB / 1.306 GB, free: 8.926 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.173, allocations: 8.094 kB / 1.306 GB, free: 8.926 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.173, allocations: 4.344 kB / 1.306 GB, free: 8.926 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/1.173, allocations: 8.406 kB / 1.306 GB, free: 8.922 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/1.173, allocations: 55.36 kB / 1.307 GB, free: 8.914 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/1.173, allocations: 14.16 kB / 1.307 GB, free: 8.906 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/1.173, allocations: 28.31 kB / 1.307 GB, free: 8.887 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/1.173, allocations: 15.44 kB / 1.307 GB, free: 8.883 MB / 1.014 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.0001448/1.173, allocations: 131.9 kB / 1.307 GB, free: 8.754 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/1.173, allocations: 16.38 kB / 1.307 GB, free: 8.746 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/1.174, allocations: 164.3 kB / 1.307 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/1.174, allocations: 2.906 kB / 1.307 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.174, allocations: 1.031 kB / 1.307 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/1.174, allocations: 1.453 kB / 1.307 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/1.174, allocations: 220 kB / 1.307 GB, free: 8.438 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.174, allocations: 1.312 kB / 1.307 GB, free: 8.438 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.212e-05/1.174, allocations: 29.3 kB / 1.307 GB, free: 8.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/1.174, allocations: 6.25 kB / 1.307 GB, free: 8.426 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/1.174, allocations: 8.781 kB / 1.307 GB, free: 8.418 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/1.174, allocations: 5.703 kB / 1.307 GB, free: 8.414 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.174, allocations: 1.5 kB / 1.307 GB, free: 8.414 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/1.175, allocations: 217.7 kB / 1.307 GB, free: 8.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/1.175, allocations: 112.4 kB / 1.307 GB, free: 8.141 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/1.175, allocations: 5.75 kB / 1.307 GB, free: 8.137 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/1.175, allocations: 18.89 kB / 1.307 GB, free: 8.129 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/1.175, allocations: 8.031 kB / 1.308 GB, free: 8.129 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/1.175, allocations: 13.91 kB / 1.308 GB, free: 8.125 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001135/1.175, allocations: 119.5 kB / 1.308 GB, free: 8.039 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.175, allocations: 0 / 1.308 GB, free: 8.039 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004713/1.176, allocations: 78.09 kB / 1.308 GB, free: 8.023 MB / 1.014 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.0009378/1.176, allocations: 0.8433 MB / 1.309 GB, free: 7.293 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003038/1.177, allocations: 120.2 kB / 1.309 GB, free: 7.254 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/1.177, allocations: 5.125 kB / 1.309 GB, free: 7.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.79e-05/1.177, allocations: 38.97 kB / 1.309 GB, free: 7.242 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/1.177, allocations: 50.02 kB / 1.309 GB, free: 7.227 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/1.18, allocations: 2.037 MB / 1.311 GB, free: 5.543 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/1.181, allocations: 0.7175 MB / 1.311 GB, free: 4.84 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002033/1.181, allocations: 49.25 kB / 1.311 GB, free: 4.816 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.129e-05/1.181, allocations: 46.5 kB / 1.312 GB, free: 4.789 MB / 1.014 GB Notification: Performance of SimCode: time 6.81e-07/1.181, allocations: 0 / 1.312 GB, free: 4.789 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/1.207, allocations: 5.61 MB / 1.317 GB, free: 3.836 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.639/9.846, allocations: 4.266 kB / 1.317 GB, free: 3.836 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.658486737986095]