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.0008149/0.0008149, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008212/0.0008212, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8953/0.8953, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.648/1.648, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.9505 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.689e-05, allocations: 5.094 kB / 0.9506 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.009979/0.009996, allocations: 11.95 MB / 0.9622 GB, free: 7.414 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.01184, allocations: 2.418 MB / 0.9646 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.445e-05/0.01191, allocations: 3.938 kB / 0.9646 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.01215, allocations: 47.67 kB / 0.9646 GB, free: 4.938 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.01243, allocations: 99.25 kB / 0.9647 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009651/0.01339, allocations: 0.5439 MB / 0.9653 GB, free: 4.297 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.01362, allocations: 243.8 kB / 0.9655 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.017e-05/0.01366, allocations: 5.812 kB / 0.9655 GB, free: 4.051 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004948/0.01861, allocations: 3.626 MB / 0.969 GB, free: 408 kB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.01874, allocations: 79.77 kB / 0.9691 GB, free: 328 kB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.01876, allocations: 8 kB / 0.9691 GB, free: 320 kB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.02039, allocations: 1.053 MB / 0.9701 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.02047, allocations: 43.88 kB / 0.9702 GB, free: 15.22 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 6.241e-05/0.02053, allocations: 59.84 kB / 0.9702 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.02107, allocations: 390.8 kB / 0.9706 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.02107, allocations: 3.938 kB / 0.9706 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.323e-06/0.02107, allocations: 0 / 0.9706 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.02108, allocations: 0 / 0.9706 GB, free: 14.78 MB / 0.9323 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.0006053/0.02168, allocations: 433.5 kB / 0.971 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.02172, allocations: 8.031 kB / 0.971 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.02176, allocations: 58.73 kB / 0.9711 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.02187, allocations: 20.84 kB / 0.9711 GB, free: 14.23 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.02211, allocations: 161.5 kB / 0.9713 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.02212, allocations: 12.7 kB / 0.9713 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.02214, allocations: 24.31 kB / 0.9713 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.02249, allocations: 491.9 kB / 0.9718 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.0225, allocations: 192 / 0.9718 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.02252, allocations: 15.94 kB / 0.9718 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.02254, allocations: 4 kB / 0.9718 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.02285, allocations: 419.5 kB / 0.9722 GB, free: 13.03 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007628/0.02361, allocations: 0.8203 MB / 0.973 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.02385, allocations: 161 kB / 0.9732 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.389e-05/0.02391, allocations: 48.89 kB / 0.9732 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006074/0.02452, allocations: 463.9 kB / 0.9736 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.02454, allocations: 34.56 kB / 0.9737 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.02454, allocations: 4 kB / 0.9737 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0002495/0.02479, allocations: 152.7 kB / 0.9738 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.02482, allocations: 51.41 kB / 0.9739 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.02494, allocations: 183.1 kB / 0.974 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.02496, allocations: 33.7 kB / 0.9741 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.02502, allocations: 144.1 kB / 0.9742 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.02505, allocations: 59.47 kB / 0.9743 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.02509, allocations: 49.7 kB / 0.9743 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.02517, allocations: 326.8 kB / 0.9746 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.02522, allocations: 31.97 kB / 0.9747 GB, free: 10.35 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.782e-05/0.0253, allocations: 137.7 kB / 0.9748 GB, free: 10.17 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.02546, allocations: 197.5 kB / 0.975 GB, free: 9.926 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.02546, allocations: 4 kB / 0.975 GB, free: 9.922 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002158/0.02568, allocations: 217.6 kB / 0.9752 GB, free: 9.703 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.02569, allocations: 8 kB / 0.9752 GB, free: 9.695 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.0257, allocations: 4 kB / 0.9752 GB, free: 9.691 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.02571, allocations: 4 kB / 0.9752 GB, free: 9.688 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.02582, allocations: 59.91 kB / 0.9753 GB, free: 9.629 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.02583, allocations: 11.94 kB / 0.9753 GB, free: 9.617 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.043e-05/0.0259, allocations: 31.72 kB / 0.9753 GB, free: 9.586 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.02591, allocations: 8 kB / 0.9753 GB, free: 9.578 MB / 0.9323 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 7.602e-05/0.02599, allocations: 133.8 kB / 0.9754 GB, free: 9.438 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.02602, allocations: 15.91 kB / 0.9755 GB, free: 9.422 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.02621, allocations: 162 kB / 0.9756 GB, free: 9.258 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.02622, allocations: 4 kB / 0.9756 GB, free: 9.254 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.02623, allocations: 0 / 0.9756 GB, free: 9.254 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.02623, allocations: 7.875 kB / 0.9756 GB, free: 9.246 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.02638, allocations: 184.6 kB / 0.9758 GB, free: 9.023 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.02638, allocations: 4 kB / 0.9758 GB, free: 9.02 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.02644, allocations: 23.98 kB / 0.9758 GB, free: 8.996 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.02644, allocations: 4 kB / 0.9758 GB, free: 8.992 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.02645, allocations: 7.938 kB / 0.9758 GB, free: 8.984 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.02645, allocations: 4 kB / 0.9758 GB, free: 8.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.02645, allocations: 4 kB / 0.9758 GB, free: 8.977 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.02662, allocations: 219.3 kB / 0.9761 GB, free: 8.746 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.02666, allocations: 39.8 kB / 0.9761 GB, free: 8.707 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.02668, allocations: 4 kB / 0.9761 GB, free: 8.703 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.02678, allocations: 15.98 kB / 0.9761 GB, free: 8.688 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.0268, allocations: 7.984 kB / 0.9761 GB, free: 8.68 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.02681, allocations: 15.92 kB / 0.9761 GB, free: 8.664 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 6.551e-05/0.02688, allocations: 120 kB / 0.9762 GB, free: 8.547 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.02688, allocations: 0 / 0.9762 GB, free: 8.547 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002768/0.02716, allocations: 79.81 kB / 0.9763 GB, free: 8.469 MB / 0.9323 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.0005886/0.02774, allocations: 0.8449 MB / 0.9772 GB, free: 7.594 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.02796, allocations: 118.5 kB / 0.9773 GB, free: 7.48 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02796, allocations: 0 / 0.9773 GB, free: 7.48 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.028, allocations: 35.98 kB / 0.9773 GB, free: 7.445 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.0283, allocations: 56.5 kB / 0.9774 GB, free: 7.391 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.03029, allocations: 2.019 MB / 0.9793 GB, free: 5.195 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.855e-05/0.03037, allocations: 106.7 kB / 0.9794 GB, free: 5.074 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001685/0.03054, allocations: 53.73 kB / 0.9795 GB, free: 5.023 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.03062, allocations: 44.48 kB / 0.9795 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of SimCode: time 1.643e-06/0.03062, allocations: 0 / 0.9795 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.05125, allocations: 6.477 MB / 0.9858 GB, free: 14.73 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.132/7.183, allocations: 0 / 0.9858 GB, free: 14.73 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.085407979786396]