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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002465/0.002465, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003038/0.003038, allocations: 173.2 kB / 22.76 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.386/3.386, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.8775 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.119e-05, allocations: 7.156 kB / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002661/0.002692, allocations: 1.323 MB / 0.8788 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.003947, allocations: 0.6398 MB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.75e-05/0.003964, allocations: 0 / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.003982, allocations: 3.938 kB / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.613e-05/0.004028, allocations: 3.938 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.004485, allocations: 108.4 kB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.004546, allocations: 24.98 kB / 0.8795 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.224e-05/0.004579, allocations: 4 kB / 0.8795 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.801e-05/0.004627, allocations: 15.97 kB / 0.8795 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.004696, allocations: 12.95 kB / 0.8796 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.004713, allocations: 0 / 0.8796 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.005, allocations: 135.7 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.005017, allocations: 9.125 kB / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.005042, allocations: 11.92 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.005295, allocations: 111.7 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.005298, allocations: 0.9375 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005299, allocations: 0 / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.005303, allocations: 0.9062 kB / 0.8798 GB, free: 4.215 MB / 0.8386 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.0005772/0.00588, allocations: 387.5 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.005922, allocations: 12.03 kB / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000456/0.006378, allocations: 40.77 kB / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.006497, allocations: 108.6 kB / 0.8803 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.006509, allocations: 384 / 0.8803 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.00653, allocations: 4.375 kB / 0.8803 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.006719, allocations: 80.52 kB / 0.8804 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.006728, allocations: 1.469 kB / 0.8804 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.006738, allocations: 384 / 0.8804 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.006742, allocations: 384 / 0.8804 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.006872, allocations: 33.39 kB / 0.8804 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.007084, allocations: 128.6 kB / 0.8806 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.00739, allocations: 68.3 kB / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.151e-05/0.007472, allocations: 28.27 kB / 0.8807 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.007489, allocations: 4 kB / 0.8807 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.007525, allocations: 37.39 kB / 0.8807 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.007526, allocations: 0 / 0.8807 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.003299/0.01083, allocations: 497.6 kB / 0.8812 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.01088, allocations: 67.28 kB / 0.8812 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.01101, allocations: 157.9 kB / 0.8814 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.01104, allocations: 25.7 kB / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.01111, allocations: 130.9 kB / 0.8815 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.01115, allocations: 23.78 kB / 0.8816 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.01123, allocations: 35.34 kB / 0.8816 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002739/0.0115, allocations: 496.1 kB / 0.8821 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.01164, allocations: 39.97 kB / 0.8821 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.01176, allocations: 44.11 kB / 0.8822 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.01206, allocations: 95.72 kB / 0.8822 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.01206, allocations: 0 / 0.8822 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003806/0.01244, allocations: 129.6 kB / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.01246, allocations: 14.5 kB / 0.8824 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01246, allocations: 0 / 0.8824 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.01248, allocations: 3.984 kB / 0.8824 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.0127, allocations: 19.97 kB / 0.8824 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.0127, allocations: 3.938 kB / 0.8824 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.01285, allocations: 4 kB / 0.8824 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.01287, allocations: 7.984 kB / 0.8824 GB, free: 1.309 MB / 0.8386 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.0001313/0.013, allocations: 160.5 kB / 0.8826 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.01304, allocations: 7.953 kB / 0.8826 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.786e-05/0.0131, allocations: 20.06 kB / 0.8826 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01311, allocations: 0 / 0.8826 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.01311, allocations: 3.938 kB / 0.8826 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.01312, allocations: 0 / 0.8826 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.01331, allocations: 146.9 kB / 0.8827 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01331, allocations: 0 / 0.8827 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.01353, allocations: 27.92 kB / 0.8828 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01353, allocations: 0 / 0.8828 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.01355, allocations: 7.984 kB / 0.8828 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01356, allocations: 0 / 0.8828 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01356, allocations: 0 / 0.8828 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005775/0.01413, allocations: 208.3 kB / 0.883 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.01415, allocations: 11.98 kB / 0.883 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.01418, allocations: 4 kB / 0.883 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.01434, allocations: 7.984 kB / 0.883 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.01437, allocations: 4 kB / 0.883 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.01438, allocations: 7.922 kB / 0.883 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.619e-05/0.01446, allocations: 123.2 kB / 0.8831 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.01446, allocations: 0 / 0.8831 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002706/0.01473, allocations: 35.88 kB / 0.8832 GB, free: 492 kB / 0.8386 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.0004824/0.01521, allocations: 131.2 kB / 0.8833 GB, free: 348 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003558/0.01557, allocations: 107.7 kB / 0.8834 GB, free: 236 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01557, allocations: 0 / 0.8834 GB, free: 236 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.01575, allocations: 59.59 kB / 0.8834 GB, free: 172 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.01596, allocations: 15.98 kB / 0.8835 GB, free: 156 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000677/0.01663, allocations: 170.1 kB / 0.8836 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.93e-05/0.0167, allocations: 67.97 kB / 0.8837 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001644/0.01687, allocations: 24 kB / 0.8837 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.01694, allocations: 20.48 kB / 0.8837 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.01694, allocations: 0 / 0.8837 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of Templates: time 0.005427/0.02237, allocations: 1.663 MB / 0.8854 GB, free: 14.23 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.47201349993702]