Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001472/0.001472, 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.001812/0.001812, allocations: 192.8 kB / 16.25 MB, free: 6.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.362/1.362, 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 10.1.1-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6413/0.6426, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002786/0.6454, allocations: 1.358 MB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.6468, allocations: 0.6318 MB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.6468, allocations: 4 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.6468, allocations: 0 / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.456e-05/0.6469, allocations: 3.984 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.6473, allocations: 95.64 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.061e-05/0.6474, allocations: 35.8 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.6475, allocations: 3.984 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.689e-05/0.6475, allocations: 15.98 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.13e-05/0.6476, allocations: 4 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.6476, allocations: 3.938 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.6478, allocations: 147.8 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.6479, allocations: 3.984 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.6479, allocations: 8 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.6481, allocations: 105.7 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6481, allocations: 0 / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6481, allocations: 4 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.6481, allocations: 4 kB / 1.019 GB, free: 308 kB / 0.7637 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.0005439/0.6487, allocations: 355.3 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.6487, allocations: 8.031 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004314/0.6492, allocations: 28.89 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.6493, allocations: 172.3 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.6493, allocations: 4.312 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.6494, allocations: 4.375 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.6496, allocations: 58.16 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.6496, allocations: 192 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.6496, allocations: 7.938 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6496, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.6498, allocations: 27.97 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.65, allocations: 165.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.6503, allocations: 66.52 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.407e-05/0.6504, allocations: 28.94 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.6504, allocations: 7.938 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.6505, allocations: 34.56 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.6505, allocations: 0 / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.003596/0.6541, allocations: 0.5681 MB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.6542, allocations: 51.41 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.911e-05/0.6542, allocations: 93.86 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.6543, allocations: 29.7 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.6543, allocations: 80.14 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.6544, allocations: 27.72 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.6544, allocations: 25.7 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6546, allocations: 315 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.6547, allocations: 31.97 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.6548, allocations: 47.94 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.6551, allocations: 84.77 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.6551, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003463/0.6555, allocations: 121.5 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.6555, allocations: 15.86 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6555, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.6556, allocations: 4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.6558, allocations: 23.97 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.6558, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.656, allocations: 8.062 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.656, allocations: 7.984 kB / 1.022 GB, free: 13.56 MB / 0.7794 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.302e-05/0.6561, allocations: 114.3 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.6561, allocations: 7.938 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.6562, allocations: 15.91 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.6562, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.6562, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.6562, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.6564, allocations: 191.5 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6564, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.6566, allocations: 27.97 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.6566, allocations: 3.938 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.6567, allocations: 7.984 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6567, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6567, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005272/0.6572, allocations: 196.9 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.6573, allocations: 81.05 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.6573, allocations: 4.031 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.6575, allocations: 7.984 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.6575, allocations: 8.062 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.6575, allocations: 3.984 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.369e-05/0.6576, allocations: 83.28 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6576, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002395/0.6578, allocations: 28 kB / 1.022 GB, free: 12.7 MB / 0.7794 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.0002252/0.6581, allocations: 119.2 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.6584, allocations: 99.95 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6584, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.6586, allocations: 43.95 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.6588, allocations: 16.08 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006557/0.6595, allocations: 170.6 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.6598, allocations: 0.6807 MB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002384/0.66, allocations: 32.2 kB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.6601, allocations: 15.42 kB / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.6601, allocations: 0 / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of Templates: time 0.004292/0.6644, allocations: 1.51 MB / 1.025 GB, free: 10 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches