Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.001939/0.001939, allocations: 80.36 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.002744/0.002744, allocations: 163.5 kB / 22.46 MB, free: 5.355 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.541/1.541, allocations: 177.2 MB / 202.8 MB, free: 9.195 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.852/2.852, allocations: 377.8 MB / 0.6221 GB, free: 12.61 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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.323e-05/3.512e-05, allocations: 6.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.003242/0.003277, allocations: 1.313 MB / 0.9827 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.004572, allocations: 0.5257 MB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.004594, allocations: 0 / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.004611, allocations: 0 / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.429e-05/0.004676, allocations: 11.86 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.005172, allocations: 99.5 kB / 0.9833 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.78e-05/0.00524, allocations: 19.88 kB / 0.9834 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.00528, allocations: 0 / 0.9834 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.005347, allocations: 19.91 kB / 0.9834 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.305e-05/0.0054, allocations: 7.938 kB / 0.9834 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.005415, allocations: 3.938 kB / 0.9834 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.005802, allocations: 135.7 kB / 0.9835 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.005815, allocations: 0 / 0.9835 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.005847, allocations: 11.92 kB / 0.9835 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.006153, allocations: 103.8 kB / 0.9836 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.006155, allocations: 0 / 0.9836 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.022e-06/0.006156, allocations: 4 kB / 0.9836 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.00616, allocations: 0 / 0.9836 GB, free: 9.711 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004616/0.006621, allocations: 270.2 kB / 0.9839 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.006666, allocations: 8.031 kB / 0.9839 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006677/0.007333, allocations: 32.89 kB / 0.9839 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.007468, allocations: 105.8 kB / 0.984 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.007479, allocations: 384 / 0.984 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.007492, allocations: 4.375 kB / 0.984 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.007699, allocations: 58.14 kB / 0.9841 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.007707, allocations: 4.188 kB / 0.9841 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.007719, allocations: 384 / 0.9841 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.007723, allocations: 384 / 0.9841 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.007919, allocations: 31.84 kB / 0.9841 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.008108, allocations: 101.3 kB / 0.9842 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.008335, allocations: 42.58 kB / 0.9843 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.008444, allocations: 20.91 kB / 0.9843 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.008466, allocations: 0 / 0.9843 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.008502, allocations: 34.56 kB / 0.9843 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.008503, allocations: 0 / 0.9843 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004289/0.008932, allocations: 73.59 kB / 0.9844 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.008991, allocations: 55.41 kB / 0.9844 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.009097, allocations: 105.8 kB / 0.9845 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.009123, allocations: 25.7 kB / 0.9846 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.009171, allocations: 80.14 kB / 0.9846 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.009206, allocations: 7.891 kB / 0.9846 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.009267, allocations: 17.72 kB / 0.9847 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.009434, allocations: 314.8 kB / 0.985 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.009536, allocations: 12.12 kB / 0.985 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.051e-05/0.009627, allocations: 11.98 kB / 0.985 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.009825, allocations: 28.84 kB / 0.985 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.009832, allocations: 7.922 kB / 0.985 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002969/0.01013, allocations: 65.73 kB / 0.9851 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.01015, allocations: 10.19 kB / 0.9851 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01015, allocations: 0 / 0.9851 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.01017, allocations: 0 / 0.9851 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.0103, allocations: 11.92 kB / 0.9851 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.0103, allocations: 0 / 0.9851 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.401e-05/0.01039, allocations: 7.938 kB / 0.9851 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.0104, allocations: 0 / 0.9851 GB, free: 8.02 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.876e-05/0.0105, allocations: 105.8 kB / 0.9852 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.01053, allocations: 7.953 kB / 0.9852 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.01058, allocations: 15.33 kB / 0.9852 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.01058, allocations: 0 / 0.9852 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.01058, allocations: 3.938 kB / 0.9852 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.01059, allocations: 3.938 kB / 0.9852 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.01072, allocations: 105.3 kB / 0.9853 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.01073, allocations: 4 kB / 0.9853 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.01083, allocations: 7.984 kB / 0.9854 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01084, allocations: 3.938 kB / 0.9854 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.01085, allocations: 7.984 kB / 0.9854 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01085, allocations: 0 / 0.9854 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01085, allocations: 0 / 0.9854 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.01115, allocations: 81.05 kB / 0.9854 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.0112, allocations: 11.98 kB / 0.9855 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.01122, allocations: 0 / 0.9855 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/0.01131, allocations: 0 / 0.9855 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.01132, allocations: 4 kB / 0.9855 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.01133, allocations: 8.016 kB / 0.9855 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.191e-05/0.01139, allocations: 79.47 kB / 0.9855 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.01139, allocations: 0 / 0.9855 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003621/0.01175, allocations: 11.94 kB / 0.9855 GB, free: 7.512 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.0002078/0.01196, allocations: 111.2 kB / 0.9857 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002659/0.01222, allocations: 35.91 kB / 0.9857 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01222, allocations: 4.062 kB / 0.9857 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.901e-05/0.01232, allocations: 11.98 kB / 0.9857 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.01262, allocations: 8 kB / 0.9857 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.01305, allocations: 105.1 kB / 0.9858 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.656e-05/0.01312, allocations: 59.34 kB / 0.9859 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.976e-05/0.01322, allocations: 19.98 kB / 0.9859 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.01327, allocations: 12.5 kB / 0.9859 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.01327, allocations: 0 / 0.9859 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of Templates: time 0.004506/0.01777, allocations: 0.8024 MB / 0.9867 GB, free: 6.316 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.93575344234705]