Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001366/0.001366, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001517/0.001517, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.344/3.344, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [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.002022/0.002022, allocations: 64.75 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.419, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003226/0.4223, allocations: 1.429 MB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.4234, allocations: 0.5493 MB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.4235, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.4235, allocations: 7.875 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.56e-05/0.4236, allocations: 15.92 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.424, allocations: 95.58 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.849e-05/0.4241, allocations: 27.86 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.083e-05/0.4241, allocations: 7.984 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.91e-05/0.4242, allocations: 7.984 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.107e-05/0.4242, allocations: 11.94 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.4242, allocations: 4 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.4245, allocations: 147.7 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.4246, allocations: 3.984 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.4246, allocations: 12 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.4248, allocations: 99.64 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4248, allocations: 4 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4248, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.4248, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 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.0004989/0.4253, allocations: 294 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.4253, allocations: 8.031 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005091/0.4259, allocations: 36.89 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.426, allocations: 110.5 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.426, allocations: 384 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.426, allocations: 8.359 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.4263, allocations: 66.14 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.4263, allocations: 192 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.4264, allocations: 7.938 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4264, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.4267, allocations: 55.94 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.4271, allocations: 212.6 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.4274, allocations: 54.48 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.4275, allocations: 36.89 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.4276, allocations: 3.938 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.4276, allocations: 30.56 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4276, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0006059/0.4282, allocations: 121.7 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.4282, allocations: 51.41 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.4283, allocations: 93.86 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.4284, allocations: 29.64 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.4284, allocations: 92.12 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.4284, allocations: 7.938 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.4285, allocations: 13.72 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4286, allocations: 318.8 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.4288, allocations: 28 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.4289, allocations: 27.97 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.4292, allocations: 56.75 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4292, allocations: 4 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00037/0.4296, allocations: 93.53 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4296, allocations: 7.984 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4296, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.4296, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.4297, allocations: 15.92 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4297, allocations: 8.031 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.4298, allocations: 7.984 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.4299, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 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.0001073/0.43, allocations: 113.8 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.43, allocations: 3.938 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.43, allocations: 7.297 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.43, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.43, allocations: 4 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.43, allocations: 4 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.4302, allocations: 105.3 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4302, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.4303, allocations: 11.98 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.4303, allocations: 3.938 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.4303, allocations: 8 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.726e-06/0.4303, allocations: 3.984 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4303, allocations: 4 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.4307, allocations: 179.4 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.4307, allocations: 15.83 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.4308, allocations: 4 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.4309, allocations: 7.984 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.4309, allocations: 8.172 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.4309, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.904e-05/0.431, allocations: 83.27 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.431, allocations: 4.031 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002736/0.4313, allocations: 12 kB / 1.332 GB, free: 11.89 MB / 1.029 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.0001773/0.4314, allocations: 115.2 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.4318, allocations: 55.94 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4318, allocations: 64 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.4319, allocations: 43.83 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.4322, allocations: 1.719 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.4327, allocations: 138.7 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.908e-05/0.4327, allocations: 59.34 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.81e-05/0.4328, allocations: 12.06 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.4328, allocations: 15.42 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4328, allocations: 0 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of Templates: time 0.003668/0.4365, allocations: 0.8388 MB / 1.333 GB, free: 10.57 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.442105326001183]