Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 109.6 kB / 16.41 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001838, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.878/2.878, allocations: 469.8 MB / 0.7491 GB, free: 3.031 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 75.88 kB / 1.073 GB, free: 152 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8697/0.8717, allocations: 159.1 MB / 1.229 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003365/0.8751, allocations: 1.418 MB / 1.23 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.8764, allocations: 0.5881 MB / 1.231 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.8764, allocations: 4 kB / 1.231 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.8765, allocations: 0 / 1.231 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.319e-05/0.8766, allocations: 7.938 kB / 1.231 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.877, allocations: 99.55 kB / 1.231 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.098e-05/0.8771, allocations: 23.88 kB / 1.231 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.8773, allocations: 7.984 kB / 1.231 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.662e-05/0.8773, allocations: 8 kB / 1.231 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.8774, allocations: 15.92 kB / 1.231 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.8774, allocations: 4 kB / 1.231 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004426/0.8779, allocations: 143.7 kB / 1.231 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.8779, allocations: 8 kB / 1.231 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.878, allocations: 7.938 kB / 1.231 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.8783, allocations: 109.5 kB / 1.231 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8783, allocations: 0 / 1.231 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8783, allocations: 0 / 1.231 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.8783, allocations: 0 / 1.231 GB, free: 2.352 MB / 0.9356 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.0006748/0.879, allocations: 359.2 kB / 1.231 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.8791, allocations: 12.03 kB / 1.231 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.8792, allocations: 34.75 kB / 1.231 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005973/0.8798, allocations: 32.84 kB / 1.231 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.88, allocations: 160.4 kB / 1.232 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.88, allocations: 384 / 1.232 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.88, allocations: 4.375 kB / 1.232 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.8803, allocations: 70.14 kB / 1.232 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.8803, allocations: 3.938 kB / 1.232 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.8803, allocations: 0 / 1.232 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.8804, allocations: 3.984 kB / 1.232 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003742/0.8807, allocations: 51.94 kB / 1.232 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/0.8814, allocations: 276.9 kB / 1.232 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.8818, allocations: 62.41 kB / 1.232 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.8819, allocations: 36.89 kB / 1.232 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.882, allocations: 0 / 1.232 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.882, allocations: 34.56 kB / 1.232 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.773e-06/0.882, allocations: 0 / 1.232 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0008038/0.8829, allocations: 117.6 kB / 1.232 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.8829, allocations: 55.34 kB / 1.232 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.8831, allocations: 105.8 kB / 1.232 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.8831, allocations: 25.7 kB / 1.232 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.8832, allocations: 80.14 kB / 1.232 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.8832, allocations: 11.89 kB / 1.232 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.8832, allocations: 21.83 kB / 1.232 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.8834, allocations: 318.8 kB / 1.233 GB, free: 292 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.8836, allocations: 23.97 kB / 1.233 GB, free: 268 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.8838, allocations: 27.97 kB / 1.233 GB, free: 240 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.8842, allocations: 56.86 kB / 1.233 GB, free: 180 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.8842, allocations: 3.938 kB / 1.233 GB, free: 176 kB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004795/0.8847, allocations: 93.64 kB / 1.233 GB, free: 76 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.8848, allocations: 4 kB / 1.233 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8848, allocations: 4.031 kB / 1.233 GB, free: 68 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.8848, allocations: 0 / 1.233 GB, free: 68 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.885, allocations: 19.91 kB / 1.233 GB, free: 48 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.885, allocations: 0 / 1.233 GB, free: 48 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.8852, allocations: 8 kB / 1.233 GB, free: 40 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.8852, allocations: 3.984 kB / 1.233 GB, free: 36 kB / 0.9356 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 0.0001304/0.8853, allocations: 114.8 kB / 1.233 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.8854, allocations: 8 kB / 1.233 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.8855, allocations: 7.125 kB / 1.233 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.8855, allocations: 0 / 1.233 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8855, allocations: 0 / 1.233 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.8855, allocations: 0 / 1.233 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.8858, allocations: 169.5 kB / 1.233 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.8859, allocations: 3.984 kB / 1.233 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.886, allocations: 11.98 kB / 1.233 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.886, allocations: 4 kB / 1.233 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.8861, allocations: 0 / 1.233 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.8861, allocations: 0 / 1.233 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8861, allocations: 0 / 1.233 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.8866, allocations: 195.4 kB / 1.234 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.8867, allocations: 77.11 kB / 1.234 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.8868, allocations: 0 / 1.234 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.8869, allocations: 11.92 kB / 1.234 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.887, allocations: 8 kB / 1.234 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.887, allocations: 3.984 kB / 1.234 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.829e-05/0.8871, allocations: 79.28 kB / 1.234 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8871, allocations: 0 / 1.234 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004648/0.8876, allocations: 15.94 kB / 1.234 GB, free: 15.25 MB / 0.9512 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 (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 Backend phase and start with SimCode phase: time 0.0009589/0.8885, allocations: 0.7247 MB / 1.234 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004301/0.889, allocations: 67.91 kB / 1.234 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.889, allocations: 0 / 1.234 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.8892, allocations: 27.97 kB / 1.235 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.8897, allocations: 6.312 kB / 1.235 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008419/0.8905, allocations: 173.1 kB / 1.235 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.891, allocations: 0.6768 MB / 1.235 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.715e-05/0.8911, allocations: 7.938 kB / 1.235 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.8911, allocations: 15.44 kB / 1.235 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/0.8911, allocations: 0 / 1.235 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.9167, allocations: 1.665 MB / 1.237 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.986, allocations: 17.91 kB / 1.237 GB, free: 11.9 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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: 15.229846548987553]