Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007277/0.007277, allocations: 96.39 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 192.3 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.591/2.591, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 66.78 kB / 0.9508 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3434, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002445/0.3459, allocations: 1.408 MB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3469, allocations: 0.5903 MB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.3469, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.463e-05/0.347, allocations: 3.984 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.923e-05/0.3471, allocations: 3.938 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.3475, allocations: 103.5 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.004e-05/0.3476, allocations: 23.92 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3477, allocations: 15.98 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.847e-05/0.3477, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.3478, allocations: 19.86 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.3478, allocations: 4 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.3481, allocations: 147.8 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.3481, allocations: 4 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.3481, allocations: 7.938 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.3484, allocations: 107.7 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3484, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3484, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.3484, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 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.0004856/0.3489, allocations: 359.2 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3489, allocations: 8.031 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00043/0.3494, allocations: 28.91 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.3495, allocations: 168.3 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.3495, allocations: 4.375 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.3496, allocations: 4.375 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.3498, allocations: 66.2 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.3498, allocations: 192 / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3498, allocations: 3.938 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3498, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/0.3501, allocations: 55.94 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.3506, allocations: 280.8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.3509, allocations: 74.33 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.351, allocations: 32.89 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.3511, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.3511, allocations: 30.56 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3511, allocations: 3.938 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005472/0.3516, allocations: 117.5 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.3517, allocations: 55.41 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.443e-05/0.3518, allocations: 97.84 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.3518, allocations: 25.83 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.3519, allocations: 92.14 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.3519, allocations: 3.953 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.352, allocations: 13.7 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3521, allocations: 318.8 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.3523, allocations: 23.97 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.3524, allocations: 31.97 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.3527, allocations: 52.81 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3527, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003385/0.353, allocations: 97.56 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.3531, allocations: 4 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3531, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.3531, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3533, allocations: 11.98 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3533, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.434e-05/0.3534, allocations: 11.98 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.3534, allocations: 4.031 kB / 1.092 GB, free: 12.8 MB / 0.8575 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.0001443/0.3536, allocations: 117.8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.3536, allocations: 7.953 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.08e-05/0.3537, allocations: 3.125 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3537, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.3537, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3537, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.3539, allocations: 173.6 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3539, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.3541, allocations: 15.97 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3541, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3541, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3541, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3541, allocations: 4 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.3545, allocations: 191.4 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.3546, allocations: 84.98 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3546, allocations: 4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.3548, allocations: 11.98 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.3548, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.3548, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.433e-05/0.3549, allocations: 91.3 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3549, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000272/0.3552, allocations: 15.94 kB / 1.093 GB, free: 12 MB / 0.8575 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.0002683/0.3555, allocations: 111.7 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003526/0.3558, allocations: 55.94 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.3558, allocations: 4 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.356, allocations: 31.91 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.3564, allocations: 11.88 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006301/0.3571, allocations: 134.8 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.3574, allocations: 0.6729 MB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.037e-05/0.3575, allocations: 7.984 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.3575, allocations: 11.44 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3575, allocations: 0 / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of Templates: time 0.003563/0.3611, allocations: 0.7959 MB / 1.095 GB, free: 10.11 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches