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.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.001408/0.001408, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001407/0.001407, allocations: 217.8 kB / 23.03 MB, free: 4.945 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.841/2.841, allocations: 476.8 MB / 0.7715 GB, free: 3.891 MB / 0.6231 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.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",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.001988/0.001988, allocations: 62.86 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3591, allocations: 170 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002926/0.362, allocations: 1.43 MB / 1.285 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.3631, allocations: 0.5587 MB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.3631, allocations: 4 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.3631, allocations: 3.984 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.3632, allocations: 3.938 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.3636, allocations: 95.56 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.877e-05/0.3637, allocations: 27.88 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.3637, allocations: 3.984 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.717e-05/0.3638, allocations: 12 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.3638, allocations: 23.84 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.3638, allocations: 4 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.3641, allocations: 135.8 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.3641, allocations: 4 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.3641, allocations: 11.92 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.3644, allocations: 101.2 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3644, allocations: 4 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3644, allocations: 0 / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3644, allocations: 3.938 kB / 1.286 GB, free: 8.289 MB / 0.9825 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.0004758/0.3649, allocations: 286.1 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3649, allocations: 11.97 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.211e-05/0.3649, allocations: 192 / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.3649, allocations: 34.75 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004833/0.3654, allocations: 28.89 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.3655, allocations: 110.5 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3655, allocations: 4.375 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.3656, allocations: 4.375 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.3658, allocations: 65.95 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3658, allocations: 4 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3658, allocations: 0 / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3658, allocations: 0 / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.3661, allocations: 59.88 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.3666, allocations: 244 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.3668, allocations: 54.53 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.3669, allocations: 32.89 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.367, allocations: 4 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.367, allocations: 30.56 kB / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.367, allocations: 0 / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005307/0.3675, allocations: 109.5 kB / 1.287 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.3676, allocations: 55.53 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.3676, allocations: 105.8 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3677, allocations: 29.64 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.3677, allocations: 84.14 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.3677, allocations: 7.953 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.3678, allocations: 13.7 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.368, allocations: 318.8 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3681, allocations: 23.97 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.3682, allocations: 35.97 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.3685, allocations: 60.73 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3685, allocations: 3.938 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003122/0.3688, allocations: 85.89 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3688, allocations: 4 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3688, allocations: 0 / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3688, allocations: 0 / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.369, allocations: 15.97 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.369, allocations: 3.984 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.171e-05/0.3691, allocations: 11.95 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.3691, allocations: 8.016 kB / 1.288 GB, free: 6.18 MB / 0.9825 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 9.149e-05/0.3692, allocations: 119.1 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.3692, allocations: 0 / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.3692, allocations: 3.312 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3692, allocations: 0 / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3692, allocations: 0 / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3692, allocations: 4 kB / 1.288 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.3694, allocations: 132.7 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3694, allocations: 0 / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.3695, allocations: 19.97 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3695, allocations: 3.938 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.3696, allocations: 8 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3696, allocations: 0 / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3696, allocations: 0 / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.3699, allocations: 183.4 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.3699, allocations: 7.938 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.37, allocations: 4 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.3701, allocations: 7.984 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.3701, allocations: 4 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.3701, allocations: 4 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.468e-05/0.3702, allocations: 83.27 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3702, allocations: 0 / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002566/0.3704, allocations: 15.95 kB / 1.289 GB, free: 5.527 MB / 0.9825 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.0007671/0.3712, allocations: 0.7395 MB / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003104/0.3715, allocations: 63.95 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3715, allocations: 0 / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.3716, allocations: 27.97 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.372, allocations: 3.984 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006107/0.3726, allocations: 180.3 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.251e-05/0.3726, allocations: 63.47 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.871e-05/0.3727, allocations: 8 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.3727, allocations: 11.44 kB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3727, allocations: 4 kB / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.3948, allocations: 1.848 MB / 1.292 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12, allocations: 16.41 kB / 1.292 GB, free: 2.637 MB / 0.9825 GB " [Timeout remaining time 288] (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/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: 18.82833787589334]