Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.0007874/0.0007874, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008353/0.0008353, 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.8801/0.8801, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.875/1.875, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.55e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001882/0.001898, allocations: 1.428 MB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003547/0.002252, allocations: 208.2 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.002282, allocations: 4 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.002308, allocations: 7.922 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.651e-05/0.002344, allocations: 7.875 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.002537, allocations: 19.91 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.737e-05/0.002605, allocations: 27.92 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.306e-05/0.002688, allocations: 4 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.306e-05/0.002731, allocations: 11.98 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.529e-05/0.002766, allocations: 15.92 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.002779, allocations: 7.938 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-05/0.002858, allocations: 31.97 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.002871, allocations: 0 / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.00289, allocations: 11.98 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.002996, allocations: 39.83 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002998, allocations: 4 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.232e-06/0.002999, allocations: 0 / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.003003, allocations: 0 / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003185/0.003321, allocations: 270.2 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.00336, allocations: 16.73 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.587e-05/0.003386, allocations: 30.75 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.003496, allocations: 4.938 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.234e-05/0.003569, allocations: 113.8 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.003578, allocations: 384 / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.003587, allocations: 4.375 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.003702, allocations: 46.23 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.003708, allocations: 4.188 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.003715, allocations: 4.359 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.003721, allocations: 4.125 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.171e-05/0.003812, allocations: 35.91 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.004074, allocations: 216.1 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.357e-05/0.004147, allocations: 38.55 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.00419, allocations: 16.91 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.004203, allocations: 0 / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.004223, allocations: 46.42 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.004224, allocations: 4 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002019/0.004426, allocations: 77.66 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.004452, allocations: 55.39 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.051e-05/0.004502, allocations: 97.86 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.004512, allocations: 25.7 kB / 1.002 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.004542, allocations: 80.14 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.004556, allocations: 7.953 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.004582, allocations: 17.83 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.951e-05/0.004652, allocations: 318.8 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.004692, allocations: 19.92 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.807e-05/0.00473, allocations: 15.92 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.599e-05/0.004806, allocations: 44.75 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.004809, allocations: 4 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.755e-05/0.004907, allocations: 73.66 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.004918, allocations: 4 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.004922, allocations: 0 / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.004934, allocations: 0 / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.279e-05/0.004986, allocations: 8 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.004992, allocations: 3.984 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.005015, allocations: 8 kB / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.00502, allocations: 0 / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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 4.999e-05/0.00507, allocations: 113.9 kB / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.005083, allocations: 7.891 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.005228, allocations: 80.89 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005229, allocations: 0 / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.005233, allocations: 0 / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.005235, allocations: 0 / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.599e-05/0.005331, allocations: 128.8 kB / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.005332, allocations: 0 / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.00536, allocations: 15.98 kB / 1.003 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.005363, allocations: 3.938 kB / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.005369, allocations: 0 / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.005369, allocations: 0 / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.00537, allocations: 0 / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.005492, allocations: 167.5 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.005499, allocations: 11.83 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.005511, allocations: 7.984 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.005547, allocations: 0 / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.005579, allocations: 15.98 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.005581, allocations: 0 / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.495e-05/0.005606, allocations: 79.28 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005606, allocations: 0 / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001535/0.005759, allocations: 4 kB / 1.004 GB, free: 9.09 MB / 0.9636 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.000284/0.006043, allocations: 0.6972 MB / 1.004 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.006162, allocations: 47.94 kB / 1.004 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.006164, allocations: 0 / 1.004 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.158e-05/0.006205, allocations: 23.91 kB / 1.004 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.006395, allocations: 8 kB / 1.004 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.006716, allocations: 140.8 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.006761, allocations: 75.2 kB / 1.005 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.994e-05/0.006781, allocations: 4.062 kB / 1.005 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.006814, allocations: 16.5 kB / 1.005 GB, free: 8 MB / 0.9636 GB Notification: Performance of SimCode: time 3.5e-07/0.006814, allocations: 0 / 1.005 GB, free: 8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.02107, allocations: 2.024 MB / 1.007 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/6.692, allocations: 11.92 kB / 1.007 GB, free: 6.105 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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: 10.879674103111029]