Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_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.001694/0.001694, allocations: 107.4 kB / 16.41 MB, free: 6.453 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.002518/0.002518, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.742/2.742, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.0016, allocations: 67.88 kB / 1.054 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.943/0.9446, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002998/0.9476, allocations: 1.423 MB / 1.21 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.9488, allocations: 0.5881 MB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.9489, allocations: 4 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.949, allocations: 7.938 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.375e-05/0.949, allocations: 0 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.9495, allocations: 95.5 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.657e-05/0.9496, allocations: 23.94 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.639e-05/0.9497, allocations: 11.97 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.115e-05/0.9498, allocations: 7.938 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.288e-05/0.9498, allocations: 11.98 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.9498, allocations: 11.94 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.9502, allocations: 139.8 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.9502, allocations: 3.984 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.9502, allocations: 11.94 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.9505, allocations: 107.6 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.9505, allocations: 0 / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.276e-06/0.9505, allocations: 0 / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.9505, allocations: 3.938 kB / 1.211 GB, free: 11.22 MB / 0.9356 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.0005139/0.951, allocations: 357.2 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.9511, allocations: 12.03 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/0.9515, allocations: 28.89 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.9517, allocations: 160.4 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.9517, allocations: 384 / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.9517, allocations: 8.312 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.952, allocations: 70.2 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.952, allocations: 3.938 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.952, allocations: 0 / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.952, allocations: 0 / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.9523, allocations: 55.88 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.9528, allocations: 272.9 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.953, allocations: 58.47 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.9532, allocations: 32.89 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.9532, allocations: 4 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.9532, allocations: 30.56 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.9532, allocations: 0 / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0005/0.9538, allocations: 125.5 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.9538, allocations: 51.41 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.767e-05/0.9539, allocations: 101.8 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.9539, allocations: 25.7 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.954, allocations: 80.14 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.954, allocations: 15.89 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.9541, allocations: 17.7 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.9542, allocations: 314.8 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.9543, allocations: 28 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.9544, allocations: 23.97 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.9547, allocations: 64.81 kB / 1.212 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9547, allocations: 3.938 kB / 1.212 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002869/0.955, allocations: 97.56 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.955, allocations: 4 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.955, allocations: 0 / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.955, allocations: 0 / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.9552, allocations: 16.02 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.9552, allocations: 0 / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.333e-05/0.9553, allocations: 7.984 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.9553, allocations: 7.984 kB / 1.213 GB, free: 8.961 MB / 0.9356 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 8.2e-05/0.9554, allocations: 113.8 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.9554, allocations: 4 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.9555, allocations: 7.125 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.9555, allocations: 0 / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.9555, allocations: 0 / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.9555, allocations: 81.02 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.9555, allocations: 0 / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.9557, allocations: 15.92 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.9557, allocations: 3.938 kB / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004201/0.9561, allocations: 180.8 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003827/0.9565, allocations: 258.8 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000133/0.9567, allocations: 27.97 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.168e-05/0.9567, allocations: 79.28 kB / 1.213 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of Backend: time 4.51e-07/0.9567, allocations: 3.938 kB / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006339/0.9574, allocations: 154.3 kB / 1.213 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005592/0.958, allocations: 0.5659 MB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of Templates: time 0.004667/0.9626, allocations: 1.649 MB / 1.216 GB, free: 5.727 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches