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.002575/0.002575, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.003031/0.003031, allocations: 157.3 kB / 23.55 MB, free: 0.8672 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.558/1.558, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 3.04/3.04, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 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.292e-06/1.292e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.765e-05, allocations: 8.922 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002494/0.002522, allocations: 1.318 MB / 0.8121 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.003583, allocations: 0.5668 MB / 0.8126 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.63e-05/0.003599, allocations: 0 / 0.8126 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.003615, allocations: 3.938 kB / 0.8127 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.049e-05/0.003666, allocations: 11.91 kB / 0.8127 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.004033, allocations: 88.73 kB / 0.8127 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.62e-05/0.0041, allocations: 29.39 kB / 0.8128 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/0.004141, allocations: 4 kB / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.704e-05/0.004188, allocations: 4 kB / 0.8128 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.98e-05/0.004228, allocations: 7.984 kB / 0.8128 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.00424, allocations: 0 / 0.8128 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.004547, allocations: 144.3 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.004558, allocations: 0.8125 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.004581, allocations: 8 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.004836, allocations: 103.7 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004839, allocations: 0.5625 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004839, allocations: 0.5938 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.004843, allocations: 0 / 0.813 GB, free: 15.85 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004635/0.005306, allocations: 376.8 kB / 0.8134 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.005342, allocations: 13.41 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004432/0.005785, allocations: 34.55 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.005895, allocations: 108.6 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.00591, allocations: 8.312 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.005922, allocations: 4.359 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.006077, allocations: 47.33 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.006085, allocations: 192 / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.006095, allocations: 3.656 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.006098, allocations: 384 / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.006217, allocations: 27.92 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.006402, allocations: 120.5 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.006556, allocations: 55.08 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.538e-05/0.006621, allocations: 20.73 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.006639, allocations: 0 / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.006676, allocations: 37.39 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.006676, allocations: 0.5 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002781/0.006955, allocations: 67.83 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.007005, allocations: 51.41 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.007126, allocations: 161.9 kB / 0.8141 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.007145, allocations: 26.61 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.007215, allocations: 138.8 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.007241, allocations: 7.938 kB / 0.8143 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.007287, allocations: 29.56 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002421/0.007529, allocations: 492.1 kB / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.668e-05/0.007586, allocations: 11.98 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/0.007636, allocations: 15.98 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.007746, allocations: 25.03 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007748, allocations: 0.9375 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001778/0.007926, allocations: 62.84 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.007941, allocations: 8 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.007945, allocations: 0 / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.007956, allocations: 0.9688 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.00805, allocations: 11.92 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.008054, allocations: 2.281 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.568e-05/0.00811, allocations: 7.938 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.008117, allocations: 0 / 0.8149 GB, free: 13.72 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.0001075/0.008224, allocations: 152.6 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.008246, allocations: 11.98 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.008289, allocations: 8.281 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.00829, allocations: 1.125 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.008292, allocations: 0 / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.0083, allocations: 3.938 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.008414, allocations: 117.7 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.008418, allocations: 8 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.896e-05/0.008487, allocations: 4 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.008489, allocations: 1.031 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.008502, allocations: 3.984 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.008503, allocations: 0 / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.008504, allocations: 0.5938 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.00871, allocations: 97.94 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.008751, allocations: 7.984 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.008769, allocations: 4 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.148e-05/0.00883, allocations: 1.125 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.00885, allocations: 3.984 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.008856, allocations: 1.094 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.869e-05/0.008925, allocations: 127.3 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008925, allocations: 0 / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002058/0.009131, allocations: 20.53 kB / 0.8155 GB, free: 13.1 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.0001767/0.009307, allocations: 112.8 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.00948, allocations: 36.69 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.009482, allocations: 4 kB / 0.8156 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.446e-05/0.009546, allocations: 27 kB / 0.8157 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.009718, allocations: 9.859 kB / 0.8157 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.01007, allocations: 118.4 kB / 0.8158 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.652e-05/0.01013, allocations: 59.34 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.532e-05/0.01019, allocations: 11.28 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.01023, allocations: 12.48 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.01023, allocations: 0 / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of Templates: time 0.003709/0.01394, allocations: 0.8091 MB / 0.8166 GB, free: 11.88 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] 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: 8.053123287972994]