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.001853/0.001853, allocations: 83.7 kB / 20.23 MB, free: 4.191 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.001921/0.001921, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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.554/1.554, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.084/3.084, 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.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.773e-06/1.773e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.842e-05, allocations: 5.203 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002785/0.002813, allocations: 1.431 MB / 0.8122 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.003983, allocations: 0.6025 MB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.004005, allocations: 0.9688 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.004031, allocations: 3.938 kB / 0.8128 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.004091, allocations: 8.797 kB / 0.8128 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.004498, allocations: 100.8 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.698e-05/0.004565, allocations: 23.86 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.757e-05/0.004643, allocations: 8 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.419e-05/0.004707, allocations: 17.53 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.004762, allocations: 7.984 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.004776, allocations: 0 / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.005072, allocations: 143.7 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.005089, allocations: 5.406 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.005114, allocations: 7.938 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.005371, allocations: 111.7 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.005374, allocations: 4 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.51e-07/0.005374, allocations: 0.8125 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.005378, allocations: 0 / 0.8132 GB, free: 15.64 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.0005534/0.005932, allocations: 380.7 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.005973, allocations: 12.03 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004558/0.006428, allocations: 39.81 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.006552, allocations: 112.6 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.006566, allocations: 384 / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.006578, allocations: 384 / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.006806, allocations: 63.73 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.006814, allocations: 192 / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.006824, allocations: 384 / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.006828, allocations: 384 / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.007028, allocations: 49.88 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.00753, allocations: 275.6 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.007747, allocations: 60.19 kB / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.007856, allocations: 29.7 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.007877, allocations: 0 / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.007913, allocations: 37.39 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.007914, allocations: 0 / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0004172/0.008331, allocations: 100 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.008376, allocations: 51.41 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.008505, allocations: 165.9 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.008528, allocations: 25.7 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.008609, allocations: 135.4 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.008628, allocations: 5.078 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/0.008686, allocations: 23.36 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002549/0.008941, allocations: 0.4884 MB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.581e-05/0.009036, allocations: 20.8 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.009116, allocations: 16.92 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.009294, allocations: 49 kB / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.009295, allocations: 0.875 kB / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002374/0.009533, allocations: 79.89 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.009546, allocations: 4 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.009554, allocations: 7.922 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.009567, allocations: 0 / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.009687, allocations: 12 kB / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.009694, allocations: 7.422 kB / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.735e-05/0.009761, allocations: 7.953 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.009769, allocations: 3.938 kB / 0.8154 GB, free: 13.23 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.0001142/0.009884, allocations: 152.6 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.009912, allocations: 4 kB / 0.8155 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.009955, allocations: 15.23 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.009956, allocations: 0.5938 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.009965, allocations: 8.5 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.009967, allocations: 0 / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.01013, allocations: 117.4 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01013, allocations: 0.5312 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.179e-05/0.01022, allocations: 12.58 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.01023, allocations: 3.984 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.01024, allocations: 1.375 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.01024, allocations: 3.938 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01024, allocations: 0 / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.01059, allocations: 225.2 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.01059, allocations: 5.094 kB / 0.8159 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.01061, allocations: 0 / 0.8159 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01071, allocations: 11.94 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.01075, allocations: 4.641 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.01075, allocations: 0 / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.965e-05/0.01083, allocations: 124.6 kB / 0.816 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01083, allocations: 0 / 0.816 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002359/0.01107, allocations: 19.89 kB / 0.8161 GB, free: 12.48 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.0001933/0.01126, allocations: 118.9 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.01152, allocations: 55.58 kB / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01152, allocations: 0 / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.01163, allocations: 31.67 kB / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.01188, allocations: 18.55 kB / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.01227, allocations: 123.3 kB / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.875e-05/0.01234, allocations: 68.45 kB / 0.8165 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.558e-05/0.0124, allocations: 9.562 kB / 0.8165 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.01245, allocations: 8.5 kB / 0.8165 GB, free: 12 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.01245, allocations: 3.938 kB / 0.8165 GB, free: 12 MB / 0.7761 GB Notification: Performance of Templates: time 0.004143/0.01659, allocations: 0.9499 MB / 0.8174 GB, free: 11.07 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] 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: 8.003631893079728]