Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002193/0.002194, allocations: 190.5 kB / 16.25 MB, free: 6.645 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.481/1.481, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.234/3.234, allocations: 469.8 MB / 0.742 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003013/0.003014, allocations: 66.77 kB / 0.908 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3322, allocations: 159.2 MB / 1.063 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002483/0.3347, allocations: 1.35 MB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3359, allocations: 0.6523 MB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.52e-05/0.3359, allocations: 0 / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.3359, allocations: 0 / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.343e-05/0.336, allocations: 7.922 kB / 1.065 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.3364, allocations: 95.69 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.687e-05/0.3365, allocations: 23.86 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.3365, allocations: 4 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.267e-05/0.3365, allocations: 8 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.3366, allocations: 11.92 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.3366, allocations: 4 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.3369, allocations: 151.7 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.3369, allocations: 4 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.337, allocations: 23.91 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.3372, allocations: 99.98 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3372, allocations: 0 / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3372, allocations: 0 / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3372, allocations: 0 / 1.066 GB, free: 12.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005227/0.3377, allocations: 347.5 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3378, allocations: 12.03 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004467/0.3382, allocations: 28.91 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.3384, allocations: 168.3 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3384, allocations: 384 / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.3384, allocations: 16.3 kB / 1.066 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.3386, allocations: 54.22 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.3386, allocations: 192 / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.3387, allocations: 3.938 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3387, allocations: 4 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.3388, allocations: 27.97 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.339, allocations: 157.7 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.3394, allocations: 74.52 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.633e-05/0.3395, allocations: 24.94 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.3395, allocations: 7.984 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.3396, allocations: 30.56 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.3396, allocations: 0 / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.003848/0.3434, allocations: 0.5759 MB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.3435, allocations: 51.41 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.454e-05/0.3436, allocations: 93.86 kB / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.3436, allocations: 33.69 kB / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.3437, allocations: 80.27 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.3437, allocations: 19.72 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.3438, allocations: 33.62 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3439, allocations: 310.8 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.3441, allocations: 39.97 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.3443, allocations: 43.84 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.3446, allocations: 80.81 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3446, allocations: 0 / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003878/0.345, allocations: 125.6 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.345, allocations: 7.938 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.345, allocations: 4 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.345, allocations: 0 / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.3453, allocations: 19.97 kB / 1.068 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3453, allocations: 3.938 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.3455, allocations: 11.98 kB / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.3455, allocations: 0 / 1.068 GB, free: 9.434 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 (7): * Single equations (assignments): 7 * 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.0001037/0.3456, allocations: 121.8 kB / 1.068 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.3456, allocations: 3.938 kB / 1.068 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.075e-05/0.3457, allocations: 7.969 kB / 1.068 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3457, allocations: 4 kB / 1.068 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.3457, allocations: 4 kB / 1.068 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3457, allocations: 336 / 1.068 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.3459, allocations: 183.7 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3459, allocations: 4.062 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.3462, allocations: 19.97 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.3462, allocations: 7.938 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.3462, allocations: 7.969 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3462, allocations: 0 / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3462, allocations: 0 / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006048/0.3469, allocations: 192.9 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.3469, allocations: 85.08 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.347, allocations: 0 / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.3472, allocations: 16.05 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.3472, allocations: 3.984 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.3473, allocations: 8 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.3473, allocations: 75.28 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3473, allocations: 3.938 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002923/0.3476, allocations: 35.92 kB / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0003319/0.348, allocations: 135.3 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003925/0.3484, allocations: 91.84 kB / 1.069 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3484, allocations: 0 / 1.069 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.3486, allocations: 47.95 kB / 1.069 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3489, allocations: 11.94 kB / 1.069 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007859/0.3497, allocations: 162.1 kB / 1.069 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.3502, allocations: 0.6845 MB / 1.07 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002386/0.3504, allocations: 23.98 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.29e-05/0.3505, allocations: 19.42 kB / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3505, allocations: 0 / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of Templates: time 0.005453/0.356, allocations: 1.501 MB / 1.072 GB, free: 5.887 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches