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.001731/0.001731, allocations: 80.53 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002145/0.002145, allocations: 166.9 kB / 22.46 MB, free: 5.371 MB / 14.72 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.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 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 2.919/2.919, allocations: 389 MB / 0.633 GB, free: 0.9609 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 7.434e-06/7.434e-06, allocations: 4 kB / 1 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.556e-05/4.299e-05, allocations: 4.953 kB / 1 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00439/0.004433, allocations: 1.304 MB / 1.001 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.006568, allocations: 0.5996 MB / 1.002 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.006598, allocations: 0 / 1.002 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.006627, allocations: 7.922 kB / 1.002 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.659e-05/0.006694, allocations: 3.984 kB / 1.002 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008153/0.007509, allocations: 107.4 kB / 1.002 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.917e-05/0.007608, allocations: 27.84 kB / 1.002 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.007661, allocations: 4 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.35e-05/0.007725, allocations: 11.98 kB / 1.002 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.913e-05/0.007824, allocations: 15.98 kB / 1.002 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.007847, allocations: 0 / 1.002 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005285/0.008375, allocations: 143.7 kB / 1.002 GB, free: 5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.008399, allocations: 4 kB / 1.002 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.008441, allocations: 8 kB / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004258/0.008867, allocations: 115.7 kB / 1.002 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.008872, allocations: 0 / 1.002 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.522e-06/0.008873, allocations: 3.938 kB / 1.002 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.008878, allocations: 0 / 1.002 GB, free: 4.871 MB / 0.9512 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.0007494/0.009628, allocations: 286.1 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.009684, allocations: 11.98 kB / 1.003 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00083/0.01051, allocations: 32.89 kB / 1.003 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.01067, allocations: 101.8 kB / 1.003 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.0107, allocations: 12.36 kB / 1.003 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.01074, allocations: 384 / 1.003 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.01117, allocations: 83.92 kB / 1.003 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.01119, allocations: 192 / 1.003 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.01121, allocations: 384 / 1.003 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.01121, allocations: 384 / 1.003 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.01149, allocations: 35.91 kB / 1.003 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.01177, allocations: 113.2 kB / 1.003 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006935/0.01246, allocations: 70.52 kB / 1.003 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.01262, allocations: 24.94 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.01266, allocations: 4 kB / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.0127, allocations: 38.5 kB / 1.003 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.934e-06/0.0127, allocations: 0 / 1.003 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.006448/0.01915, allocations: 0.5007 MB / 1.004 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.01922, allocations: 59.28 kB / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.01935, allocations: 97.86 kB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.01939, allocations: 25.7 kB / 1.004 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.01946, allocations: 80.14 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.01954, allocations: 31.73 kB / 1.004 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.01965, allocations: 21.7 kB / 1.004 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.01987, allocations: 318.8 kB / 1.004 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.02015, allocations: 36.09 kB / 1.004 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.02044, allocations: 43.95 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006163/0.02106, allocations: 80.81 kB / 1.004 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.02106, allocations: 0 / 1.004 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007698/0.02183, allocations: 129.5 kB / 1.005 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.02186, allocations: 4 kB / 1.005 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.02186, allocations: 0 / 1.005 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.02188, allocations: 0 / 1.005 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.0223, allocations: 23.97 kB / 1.005 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.02231, allocations: 3.938 kB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.02258, allocations: 8 kB / 1.005 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.02261, allocations: 7.984 kB / 1.005 GB, free: 2.41 MB / 0.9512 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.0001618/0.02277, allocations: 110.4 kB / 1.005 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.02282, allocations: 4 kB / 1.005 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.02293, allocations: 12.12 kB / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.02293, allocations: 0 / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.02294, allocations: 7.875 kB / 1.005 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.02295, allocations: 8.312 kB / 1.005 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.02321, allocations: 123.6 kB / 1.005 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.02321, allocations: 0 / 1.005 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/0.02361, allocations: 23.97 kB / 1.005 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.02362, allocations: 7.922 kB / 1.005 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.02365, allocations: 3.938 kB / 1.005 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/0.02366, allocations: 7.984 kB / 1.005 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.02366, allocations: 4 kB / 1.005 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.02481, allocations: 188.9 kB / 1.005 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.02483, allocations: 4.156 kB / 1.005 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.02489, allocations: 4 kB / 1.005 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.02521, allocations: 20.05 kB / 1.005 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.02524, allocations: 0 / 1.005 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.02527, allocations: 11.92 kB / 1.005 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.746e-05/0.02534, allocations: 75.28 kB / 1.005 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.02534, allocations: 0 / 1.005 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005191/0.02586, allocations: 35.92 kB / 1.005 GB, free: 1.715 MB / 0.9512 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.0004694/0.02633, allocations: 135.1 kB / 1.005 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006947/0.02702, allocations: 83.92 kB / 1.005 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.02703, allocations: 0 / 1.005 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.02735, allocations: 43.95 kB / 1.006 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.02779, allocations: 12 kB / 1.006 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.02895, allocations: 154.7 kB / 1.006 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.02906, allocations: 67.28 kB / 1.006 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000311/0.02937, allocations: 31.92 kB / 1.006 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.0295, allocations: 16.48 kB / 1.006 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of SimCode: time 8.22e-07/0.0295, allocations: 0 / 1.006 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of Templates: time 0.007843/0.03734, allocations: 1.576 MB / 1.007 GB, free: 15.6 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 800] 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.353369429707527]