Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_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_latest_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.001383/0.001383, allocations: 106.2 kB / 16.36 MB, free: 6.355 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: 195.8 kB / 17.3 MB, free: 5.906 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.502/2.502, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.75 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.328, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002335/0.3303, allocations: 1.282 MB / 1.028 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009626/0.3313, allocations: 0.6457 MB / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.772e-05/0.3314, allocations: 3.938 kB / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.3314, allocations: 0 / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.245e-05/0.3314, allocations: 15.91 kB / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.3318, allocations: 103.6 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.988e-05/0.3319, allocations: 31.89 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.332, allocations: 0 / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.543e-05/0.332, allocations: 12 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.3321, allocations: 11.88 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.3321, allocations: 0 / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.3324, allocations: 143.8 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.3324, allocations: 0 / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.3324, allocations: 23.92 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.3326, allocations: 103.8 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3326, allocations: 0 / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3326, allocations: 0 / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3326, allocations: 0 / 1.029 GB, free: 15.71 MB / 0.8106 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.0004406/0.3331, allocations: 351.4 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3331, allocations: 12.03 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004158/0.3335, allocations: 28.91 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.3337, allocations: 160.4 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3337, allocations: 384 / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.3337, allocations: 16.27 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.3339, allocations: 54.22 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3339, allocations: 192 / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3339, allocations: 3.938 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3339, allocations: 4 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.3341, allocations: 31.91 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.3343, allocations: 161.5 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.3346, allocations: 66.58 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.3347, allocations: 36.86 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.3347, allocations: 4 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.3347, allocations: 34.55 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3347, allocations: 0 / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.003298/0.338, allocations: 0.5797 MB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.3381, allocations: 55.41 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.099e-05/0.3382, allocations: 93.86 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.3382, allocations: 29.7 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.3382, allocations: 84.27 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.3383, allocations: 19.7 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.3383, allocations: 25.7 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3385, allocations: 314.8 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.3386, allocations: 35.97 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.3387, allocations: 35.97 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.339, allocations: 84.81 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.339, allocations: 0 / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003173/0.3393, allocations: 125.6 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.3394, allocations: 7.938 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3394, allocations: 3.938 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3394, allocations: 4 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.3396, allocations: 19.97 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3396, allocations: 240 / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.3398, allocations: 7.984 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.3398, allocations: 4 kB / 1.031 GB, free: 12.98 MB / 0.8106 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 8.579e-05/0.3399, allocations: 121.8 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.3399, allocations: 7.922 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.34, allocations: 11.91 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.34, allocations: 4 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.34, allocations: 4 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.34, allocations: 0 / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.3402, allocations: 187.7 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3402, allocations: 0 / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.3404, allocations: 23.91 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3404, allocations: 3.938 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3404, allocations: 7.984 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3404, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3404, allocations: 3.984 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.3409, allocations: 188.9 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.341, allocations: 85.08 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.341, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.3412, allocations: 16.05 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.3412, allocations: 128 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.3413, allocations: 15.98 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.382e-05/0.3413, allocations: 75.28 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3413, allocations: 0 / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002475/0.3416, allocations: 35.92 kB / 1.032 GB, free: 12.11 MB / 0.8106 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.0002175/0.3418, allocations: 131.3 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003134/0.3421, allocations: 87.92 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3421, allocations: 0 / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.3422, allocations: 47.91 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.3425, allocations: 16.53 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.3431, allocations: 159.9 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.3433, allocations: 0.6768 MB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001417/0.3435, allocations: 35.86 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.3436, allocations: 19.42 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3436, allocations: 4 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of Templates: time 0.00432/0.3479, allocations: 1.502 MB / 1.035 GB, free: 9.426 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches