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.0008275/0.0008275, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007989/0.0007989, allocations: 181.9 kB / 23.22 MB, free: 1.344 MB / 18.57 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 0.9358/0.9358, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.803/1.803, allocations: 377.9 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.003e-06/2.003e-06, allocations: 0 / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.192e-05, allocations: 4.953 kB / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002259/0.002291, allocations: 1.428 MB / 0.9836 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007765/0.003067, allocations: 0.5607 MB / 0.9841 GB, free: 116 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.003096, allocations: 4 kB / 0.9841 GB, free: 112 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.003126, allocations: 0 / 0.9841 GB, free: 112 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.278e-05/0.003179, allocations: 3.938 kB / 0.9841 GB, free: 108 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.003551, allocations: 107.4 kB / 0.9842 GB, free: 0 / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.003634, allocations: 20.02 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.003731, allocations: 7.984 kB / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.828e-05/0.003779, allocations: 8 kB / 0.9843 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.665e-05/0.003826, allocations: 15.92 kB / 0.9843 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.00384, allocations: 8 kB / 0.9843 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.004029, allocations: 135.7 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.004046, allocations: 7.922 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.004069, allocations: 11.98 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.00426, allocations: 115.7 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.004263, allocations: 0 / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004265, allocations: 0 / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.004269, allocations: 7.875 kB / 0.9845 GB, free: 15.67 MB / 0.948 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.0003864/0.004655, allocations: 278.1 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.004696, allocations: 12.03 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.004989, allocations: 36.84 kB / 0.9849 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.407e-05/0.005073, allocations: 105.8 kB / 0.985 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.005085, allocations: 4.359 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.005097, allocations: 4.375 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.005261, allocations: 62.2 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.005268, allocations: 4.188 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.005281, allocations: 4.375 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.005285, allocations: 384 / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.005423, allocations: 59.81 kB / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.005771, allocations: 216.5 kB / 0.9853 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.0059, allocations: 58.55 kB / 0.9854 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.992e-05/0.00597, allocations: 32.89 kB / 0.9854 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.005991, allocations: 3.984 kB / 0.9854 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.006012, allocations: 38.56 kB / 0.9854 GB, free: 14.65 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.006013, allocations: 0 / 0.9854 GB, free: 14.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.000305/0.006318, allocations: 121.4 kB / 0.9855 GB, free: 14.53 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.006349, allocations: 51.41 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.92e-05/0.006418, allocations: 105.8 kB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.006438, allocations: 25.7 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.006474, allocations: 80.14 kB / 0.9858 GB, free: 14.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.006494, allocations: 3.953 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.006526, allocations: 21.84 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.006612, allocations: 314.8 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.141e-05/0.006684, allocations: 31.97 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.006741, allocations: 27.91 kB / 0.9862 GB, free: 13.83 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.006864, allocations: 56.88 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.006866, allocations: 3.938 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001611/0.007027, allocations: 93.62 kB / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.00704, allocations: 4 kB / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.007047, allocations: 3.938 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.00706, allocations: 4.031 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.15e-05/0.007142, allocations: 11.98 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.007147, allocations: 0 / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.913e-05/0.007186, allocations: 11.98 kB / 0.9864 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.007192, allocations: 0 / 0.9864 GB, free: 13.64 MB / 0.948 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 5.878e-05/0.007251, allocations: 105.8 kB / 0.9865 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.007267, allocations: 7.984 kB / 0.9865 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.007313, allocations: 19.19 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.007316, allocations: 0 / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.00732, allocations: 0 / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.007323, allocations: 0 / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.0077, allocations: 117.3 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007702, allocations: 0 / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.318e-05/0.007755, allocations: 11.98 kB / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.007757, allocations: 3.938 kB / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.007767, allocations: 3.984 kB / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.007769, allocations: 7.938 kB / 0.9866 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.00777, allocations: 0 / 0.9866 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.00797, allocations: 179.5 kB / 0.9868 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.007978, allocations: 4 kB / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.007992, allocations: 7.984 kB / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.161e-05/0.008044, allocations: 8.125 kB / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.008078, allocations: 8.016 kB / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.008083, allocations: 3.984 kB / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.021e-05/0.008113, allocations: 79.28 kB / 0.9869 GB, free: 13.03 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008113, allocations: 0 / 0.9869 GB, free: 13.03 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001683/0.008282, allocations: 19.94 kB / 0.9869 GB, free: 13.01 MB / 0.948 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.0001674/0.008449, allocations: 111.7 kB / 0.987 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001843/0.008633, allocations: 63.81 kB / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.008635, allocations: 4 kB / 0.9871 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.008699, allocations: 31.95 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.008922, allocations: 0 / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.009266, allocations: 154.7 kB / 0.9873 GB, free: 12.61 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.879e-05/0.009315, allocations: 59.34 kB / 0.9873 GB, free: 12.53 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.009352, allocations: 16.48 kB / 0.9873 GB, free: 12.52 MB / 0.948 GB Notification: Performance of SimCode: time 1.012e-06/0.009353, allocations: 0 / 0.9873 GB, free: 12.52 MB / 0.948 GB Notification: Performance of Templates: time 0.002063/0.01142, allocations: 0.931 MB / 0.9882 GB, free: 11.59 MB / 0.948 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: 6.91236416157335]