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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001098/0.001098, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001258/0.001258, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 472.7 MB / 0.7448 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.64 kB / 0.9116 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3285, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002928/0.3315, allocations: 1.466 MB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009496/0.3325, allocations: 0.5998 MB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.3326, allocations: 4 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.81e-05/0.3326, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.476e-05/0.3327, allocations: 11.88 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.3331, allocations: 83.7 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.84e-05/0.3332, allocations: 23.88 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.3333, allocations: 7.984 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.858e-05/0.3333, allocations: 8 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.3334, allocations: 23.91 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.3334, allocations: 4 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.3336, allocations: 143.8 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.427e-06/0.3337, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.3337, allocations: 15.92 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.3339, allocations: 108 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3339, allocations: 0 / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3339, allocations: 0 / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.3339, allocations: 0 / 1.07 GB, free: 8.238 MB / 0.8262 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.000545/0.3345, allocations: 359.4 kB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3345, allocations: 8.031 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004519/0.335, allocations: 28.89 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3351, allocations: 164.4 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3351, allocations: 384 / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.3351, allocations: 384 / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.3354, allocations: 74.14 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3354, allocations: 4.188 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.3354, allocations: 3.938 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3354, allocations: 0 / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.3357, allocations: 51.94 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.3361, allocations: 264.9 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.3364, allocations: 62.47 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.3365, allocations: 44.77 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.3365, allocations: 4 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.3366, allocations: 30.56 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3366, allocations: 0 / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004883/0.3371, allocations: 113.6 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.3371, allocations: 55.34 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.137e-05/0.3372, allocations: 109.8 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3372, allocations: 25.7 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.3373, allocations: 84.08 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.3373, allocations: 3.906 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.3373, allocations: 21.7 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.3374, allocations: 318.8 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.3376, allocations: 27.97 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3377, allocations: 23.97 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.3379, allocations: 60.86 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3379, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002921/0.3382, allocations: 93.58 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3383, allocations: 8 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3383, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3383, allocations: 4.031 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3384, allocations: 15.97 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3385, allocations: 3.938 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.02e-05/0.3385, allocations: 4 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3386, allocations: 7.984 kB / 1.072 GB, free: 5.973 MB / 0.8262 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.925e-05/0.3386, allocations: 111.3 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.3387, allocations: 0 / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.3387, allocations: 15.12 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3387, allocations: 0 / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3387, allocations: 0 / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3387, allocations: 0 / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.3389, allocations: 165.6 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3389, allocations: 4 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.339, allocations: 11.98 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3391, allocations: 0 / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3391, allocations: 8 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3391, allocations: 0 / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3391, allocations: 0 / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.3394, allocations: 183.3 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.3395, allocations: 89.08 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.3395, allocations: 3.938 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.3396, allocations: 15.92 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.3397, allocations: 0 / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.3397, allocations: 7.984 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.739e-05/0.3397, allocations: 79.28 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3397, allocations: 0 / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002386/0.34, allocations: 12 kB / 1.073 GB, free: 5.188 MB / 0.8262 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.0001805/0.3402, allocations: 115.2 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.3405, allocations: 63.94 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3405, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.3406, allocations: 32.03 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.341, allocations: 11.88 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.3415, allocations: 134.5 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.3418, allocations: 0.6768 MB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.514e-05/0.3419, allocations: 12.06 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.3419, allocations: 7.438 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3419, allocations: 0 / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of Templates: time 0.002966/0.3449, allocations: 0.7289 MB / 1.075 GB, free: 3.355 MB / 0.8262 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches