Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 111.8 kB / 16.42 MB, free: 6.02 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.001281/0.001281, allocations: 194 kB / 17.35 MB, free: 5.633 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.402/1.402, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.606/2.606, allocations: 461.7 MB / 0.7352 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 63.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9236/0.9253, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00269/0.928, allocations: 1.291 MB / 1.209 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009914/0.929, allocations: 0.5609 MB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.9291, allocations: 4 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.9291, allocations: 7.922 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.044e-05/0.9292, allocations: 11.92 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.9296, allocations: 83.58 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.612e-05/0.9297, allocations: 23.86 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.9298, allocations: 3.938 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/0.9298, allocations: 8 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.507e-05/0.9298, allocations: 7.938 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.9299, allocations: 4 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.9302, allocations: 143.8 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.9302, allocations: 3.984 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.9302, allocations: 7.938 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.9304, allocations: 95.48 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.9305, allocations: 0 / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9305, allocations: 0 / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.9305, allocations: 0 / 1.21 GB, free: 11.35 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004078/0.9309, allocations: 349.4 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.9309, allocations: 8.031 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004335/0.9314, allocations: 40.8 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.9316, allocations: 160.4 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.9316, allocations: 384 / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.9316, allocations: 4.375 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.9318, allocations: 50.22 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.9318, allocations: 192 / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.9318, allocations: 7.938 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.9318, allocations: 0 / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.932, allocations: 19.98 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.9322, allocations: 153.7 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.9324, allocations: 50.5 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.02e-05/0.9325, allocations: 20.91 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.9325, allocations: 0 / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.9325, allocations: 30.56 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.9325, allocations: 4 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003307/0.9329, allocations: 77.53 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.9329, allocations: 51.41 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.591e-05/0.933, allocations: 101.8 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.933, allocations: 29.7 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.9331, allocations: 84.14 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.9331, allocations: 3.906 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.9332, allocations: 13.72 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.9333, allocations: 323 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.9334, allocations: 4 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.424e-05/0.9334, allocations: 15.98 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.9336, allocations: 28.83 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9336, allocations: 0 / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001656/0.9338, allocations: 65.67 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.9338, allocations: 4 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.9338, allocations: 0 / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.9338, allocations: 7.875 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/0.9339, allocations: 15.98 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.9339, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.241e-05/0.934, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.934, allocations: 8.031 kB / 1.212 GB, free: 9.43 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 7.764e-05/0.9341, allocations: 105.8 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.9341, allocations: 3.984 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.9341, allocations: 11.06 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.9342, allocations: 0 / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.9342, allocations: 0 / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.9342, allocations: 89 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.9343, allocations: 0 / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.856e-05/0.9343, allocations: 12 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.9343, allocations: 0 / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002428/0.9346, allocations: 140.9 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002386/0.9348, allocations: 230.8 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.557e-05/0.9349, allocations: 15.98 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.289e-05/0.9349, allocations: 79.28 kB / 1.213 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of Backend: time 5.51e-07/0.935, allocations: 0 / 1.213 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005455/0.9355, allocations: 142.2 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005535/0.9361, allocations: 0.562 MB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of Templates: time 0.003974/0.9401, allocations: 1.465 MB / 1.215 GB, free: 6.492 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches