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.001867/0.001867, allocations: 79.7 kB / 19.18 MB, free: 2.527 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.002583/0.002583, allocations: 168.1 kB / 22.46 MB, free: 5.359 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.492/1.492, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.861/2.861, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.412e-05, allocations: 5.656 kB / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002562/0.002596, allocations: 1.445 MB / 0.9828 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.003693, allocations: 0.5529 MB / 0.9834 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.665e-05/0.00372, allocations: 0 / 0.9834 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.003751, allocations: 0 / 0.9834 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.003811, allocations: 11.86 kB / 0.9834 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.004271, allocations: 99.5 kB / 0.9835 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.922e-05/0.00435, allocations: 19.92 kB / 0.9835 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.004449, allocations: 12 kB / 0.9835 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.08e-05/0.00451, allocations: 19.86 kB / 0.9835 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.881e-05/0.004559, allocations: 7.984 kB / 0.9835 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.004576, allocations: 4 kB / 0.9835 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.004884, allocations: 139.7 kB / 0.9837 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.004902, allocations: 11.88 kB / 0.9837 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.004927, allocations: 4 kB / 0.9837 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.005213, allocations: 119.7 kB / 0.9838 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.005216, allocations: 0 / 0.9838 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.72e-07/0.005217, allocations: 0 / 0.9838 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.005225, allocations: 4 kB / 0.9838 GB, free: 9.578 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.0005143/0.005739, allocations: 282.1 kB / 0.9841 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.005775, allocations: 8.031 kB / 0.9841 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004705/0.006245, allocations: 32.86 kB / 0.9841 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.006376, allocations: 117.7 kB / 0.9842 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.006384, allocations: 384 / 0.9842 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.006399, allocations: 384 / 0.9842 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.006647, allocations: 66.2 kB / 0.9843 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.006659, allocations: 4.172 kB / 0.9843 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.00667, allocations: 4.312 kB / 0.9843 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.006675, allocations: 4.375 kB / 0.9843 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.006966, allocations: 55.88 kB / 0.9843 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.007432, allocations: 208.6 kB / 0.9845 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.00768, allocations: 58.53 kB / 0.9846 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.007828, allocations: 32.89 kB / 0.9846 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.007845, allocations: 0 / 0.9846 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.007874, allocations: 42.5 kB / 0.9847 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.007875, allocations: 0 / 0.9847 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0005647/0.00844, allocations: 117.5 kB / 0.9848 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.008479, allocations: 51.41 kB / 0.9848 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.236e-05/0.008571, allocations: 102 kB / 0.9849 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.008592, allocations: 33.64 kB / 0.985 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.008639, allocations: 80.14 kB / 0.985 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.008664, allocations: 11.94 kB / 0.985 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.008707, allocations: 13.72 kB / 0.9851 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.008847, allocations: 310.8 kB / 0.9853 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.008997, allocations: 31.97 kB / 0.9854 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.009136, allocations: 31.91 kB / 0.9854 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.009431, allocations: 60.8 kB / 0.9855 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.009433, allocations: 0 / 0.9855 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003402/0.009773, allocations: 89.7 kB / 0.9856 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.009789, allocations: 4 kB / 0.9856 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.009797, allocations: 3.938 kB / 0.9856 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.009813, allocations: 0 / 0.9856 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.009958, allocations: 15.97 kB / 0.9856 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.009963, allocations: 0 / 0.9856 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.705e-05/0.01006, allocations: 7.984 kB / 0.9856 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.01007, allocations: 7.938 kB / 0.9856 GB, free: 7.551 MB / 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 9.219e-05/0.01016, allocations: 117.9 kB / 0.9857 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.01019, allocations: 7.938 kB / 0.9857 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.01023, allocations: 7.25 kB / 0.9857 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01023, allocations: 0 / 0.9857 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.01024, allocations: 3.984 kB / 0.9857 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01024, allocations: 0 / 0.9857 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.0104, allocations: 121.3 kB / 0.9858 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.0104, allocations: 0 / 0.9858 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.01052, allocations: 15.98 kB / 0.9859 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.01052, allocations: 0 / 0.9859 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.01053, allocations: 0 / 0.9859 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.01054, allocations: 3.938 kB / 0.9859 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01054, allocations: 0 / 0.9859 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.01093, allocations: 183.5 kB / 0.986 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.01094, allocations: 0 / 0.986 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.01096, allocations: 8.031 kB / 0.986 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.01109, allocations: 11.92 kB / 0.9861 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.01113, allocations: 0 / 0.9861 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.01113, allocations: 7.922 kB / 0.9861 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.906e-05/0.01118, allocations: 87.22 kB / 0.9861 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01118, allocations: 0 / 0.9861 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002622/0.01145, allocations: 15.94 kB / 0.9862 GB, free: 6.918 MB / 0.9356 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.0002036/0.01165, allocations: 112 kB / 0.9863 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000334/0.01198, allocations: 55.94 kB / 0.9863 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.01199, allocations: 4 kB / 0.9863 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.01214, allocations: 27.97 kB / 0.9863 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.01244, allocations: 8.109 kB / 0.9864 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.01292, allocations: 128.8 kB / 0.9865 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.939e-05/0.01298, allocations: 63.34 kB / 0.9865 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.938e-05/0.01306, allocations: 11.94 kB / 0.9866 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.0131, allocations: 8.5 kB / 0.9866 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/0.0131, allocations: 4 kB / 0.9866 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of Templates: time 0.003523/0.01662, allocations: 0.8298 MB / 0.9874 GB, free: 5.633 MB / 0.9356 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 -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/jenkins/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: 7.897724390029907]