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.00184/0.00184, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.001588/0.001588, allocations: 165.3 kB / 23.54 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.514/1.514, allocations: 177.1 MB / 203.9 MB, free: 5.625 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.863/2.863, allocations: 377.8 MB / 0.6232 GB, free: 8.523 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.232e-06/1.232e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.56e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002418/0.002443, allocations: 1.307 MB / 0.8121 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.003486, allocations: 0.5244 MB / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.003503, allocations: 1.406 kB / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.003527, allocations: 3.938 kB / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.254e-05/0.003579, allocations: 15.91 kB / 0.8126 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.003982, allocations: 88.3 kB / 0.8127 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.643e-05/0.004048, allocations: 28.73 kB / 0.8127 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 2.938e-05/0.004077, allocations: 0 / 0.8127 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.958e-05/0.004127, allocations: 11.98 kB / 0.8127 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.128e-05/0.004168, allocations: 8.609 kB / 0.8128 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.00418, allocations: 0.5312 kB / 0.8128 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.004501, allocations: 139.7 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.004512, allocations: 0.5 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.004537, allocations: 9.25 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.004768, allocations: 103.7 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.00477, allocations: 3.938 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004771, allocations: 2.344 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.004774, allocations: 0 / 0.813 GB, free: 15.88 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.0003983/0.005173, allocations: 270.2 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.00522, allocations: 8.031 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004825/0.005703, allocations: 37.47 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.005818, allocations: 111.2 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.005832, allocations: 4.375 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.005845, allocations: 4.375 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.006006, allocations: 47.44 kB / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.006013, allocations: 192 / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.006023, allocations: 384 / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.006027, allocations: 0.875 kB / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.006172, allocations: 25.33 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.006345, allocations: 109.2 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.006514, allocations: 47.86 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.041e-05/0.006585, allocations: 14.3 kB / 0.8137 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.006608, allocations: 7.984 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.006645, allocations: 31.72 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.006646, allocations: 0 / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0003331/0.006979, allocations: 71.03 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.007026, allocations: 52.03 kB / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.007137, allocations: 105.7 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.007158, allocations: 27.02 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.00721, allocations: 80.14 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.007339, allocations: 7.953 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.007383, allocations: 18.52 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.007549, allocations: 314.8 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.007622, allocations: 17.55 kB / 0.8144 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.184e-05/0.007684, allocations: 11.98 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.007821, allocations: 33.19 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007823, allocations: 0 / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00019/0.008013, allocations: 57.67 kB / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.008027, allocations: 4 kB / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.008032, allocations: 3.938 kB / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.008048, allocations: 192 / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.008153, allocations: 12.48 kB / 0.8145 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.008158, allocations: 1.938 kB / 0.8145 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.008228, allocations: 11.88 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.008238, allocations: 4 kB / 0.8145 GB, free: 14.21 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 9.282e-05/0.008331, allocations: 109.8 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.008349, allocations: 5.266 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.008385, allocations: 7.312 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.008386, allocations: 1.312 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.00839, allocations: 0 / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.008395, allocations: 3.938 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.008509, allocations: 105.3 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.00851, allocations: 0.5312 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-05/0.008592, allocations: 8.891 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.0086, allocations: 4 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.008607, allocations: 0.8438 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.008611, allocations: 4 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008612, allocations: 1.281 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.008844, allocations: 93.56 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.008886, allocations: 6.188 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.0089, allocations: 0 / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.008977, allocations: 3.984 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.008989, allocations: 0 / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.008994, allocations: 4 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.984e-05/0.009044, allocations: 79.28 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009044, allocations: 3.156 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002109/0.009255, allocations: 23.86 kB / 0.8149 GB, free: 13.71 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.0001779/0.009433, allocations: 111.1 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001795/0.009613, allocations: 27.97 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.009614, allocations: 0.9375 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.271e-05/0.009687, allocations: 21.05 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.009907, allocations: 10.05 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.01028, allocations: 114.9 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.488e-05/0.01033, allocations: 55.36 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.242e-05/0.0104, allocations: 17.86 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.01045, allocations: 12.5 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of SimCode: time 7.32e-07/0.01045, allocations: 0 / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of Templates: time 0.00353/0.01398, allocations: 0.8081 MB / 0.8161 GB, free: 12.52 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=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.759453859063797]