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.001955/0.001955, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002578/0.002578, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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 1.474/1.474, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 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.865/2.865, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 177] 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.654e-06/1.654e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.971e-05, allocations: 3.312 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00417/0.004199, allocations: 1.441 MB / 0.8122 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.00578, allocations: 0.5559 MB / 0.8127 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.005808, allocations: 1.25 kB / 0.8127 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.005837, allocations: 3.938 kB / 0.8127 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.875e-05/0.005896, allocations: 2.031 kB / 0.8127 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.006541, allocations: 103.5 kB / 0.8128 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.006628, allocations: 23.81 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.006722, allocations: 11.97 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.991e-05/0.006792, allocations: 8.562 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.67e-05/0.006849, allocations: 12.83 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.006868, allocations: 4 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004518/0.00732, allocations: 139.7 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.007341, allocations: 5.266 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.007378, allocations: 8 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.007728, allocations: 123.6 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.007732, allocations: 0.5938 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.007733, allocations: 0 / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.007736, allocations: 1.25 kB / 0.8132 GB, free: 15.67 MB / 0.7761 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.0006631/0.0084, allocations: 282.1 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.008447, allocations: 10.44 kB / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007039/0.009151, allocations: 36.83 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.009317, allocations: 109.8 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.009331, allocations: 0.9375 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.009347, allocations: 384 / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.009713, allocations: 64.14 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.009724, allocations: 192 / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.00974, allocations: 4.375 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.009745, allocations: 1.906 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.01023, allocations: 61.75 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.01092, allocations: 224.3 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.01132, allocations: 55.88 kB / 0.814 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.01155, allocations: 34.16 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.01159, allocations: 7.984 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.01163, allocations: 35.03 kB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.01163, allocations: 0.5312 kB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0009787/0.01261, allocations: 117.1 kB / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.01269, allocations: 51.41 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.01285, allocations: 101.8 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.01288, allocations: 25.7 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.253e-05/0.01297, allocations: 81.3 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.013, allocations: 15.89 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/0.01307, allocations: 13.7 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002496/0.01332, allocations: 315.6 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.01356, allocations: 24.59 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.01382, allocations: 29.72 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004962/0.01432, allocations: 62.69 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01432, allocations: 0 / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006201/0.01494, allocations: 88.06 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.01497, allocations: 4 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.01498, allocations: 4.906 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.015, allocations: 4 kB / 0.815 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.01524, allocations: 15.55 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.01525, allocations: 0 / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.01543, allocations: 11.94 kB / 0.815 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.01545, allocations: 0 / 0.815 GB, free: 13.66 MB / 0.7761 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.0001647/0.01561, allocations: 113.8 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.01567, allocations: 11.91 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.125e-05/0.01574, allocations: 11.75 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01574, allocations: 1.188 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.01574, allocations: 0 / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01575, allocations: 0 / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.01602, allocations: 106.4 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01602, allocations: 0 / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.01622, allocations: 12.64 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.01623, allocations: 7.938 kB / 0.8152 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.01625, allocations: 6.234 kB / 0.8152 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.01626, allocations: 7.938 kB / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01626, allocations: 0 / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007209/0.01698, allocations: 182.6 kB / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.01699, allocations: 4 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.01703, allocations: 3.984 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.01726, allocations: 11.94 kB / 0.8154 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.01732, allocations: 7.922 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.01733, allocations: 0 / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.759e-05/0.01742, allocations: 84.22 kB / 0.8155 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01742, allocations: 0 / 0.8155 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004811/0.0179, allocations: 15.94 kB / 0.8155 GB, free: 13.04 MB / 0.7761 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.0003131/0.01821, allocations: 112.3 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005882/0.0188, allocations: 54.09 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.0188, allocations: 1.25 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.01908, allocations: 36.92 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.01963, allocations: 13.62 kB / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006584/0.02028, allocations: 127.8 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.02039, allocations: 67.33 kB / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.02051, allocations: 8.781 kB / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.658e-05/0.02058, allocations: 16.48 kB / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.02058, allocations: 0 / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of Templates: time 0.005893/0.02647, allocations: 0.9382 MB / 0.8169 GB, free: 11.65 MB / 0.7761 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.692075000028126]