Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.002013/0.002013, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.003083/0.003083, allocations: 174.2 kB / 22.46 MB, free: 5.355 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.462/1.462, allocations: 177.1 MB / 202.8 MB, free: 9.188 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.898/2.898, allocations: 389 MB / 0.633 GB, free: 1.004 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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 1 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.493e-05, allocations: 6.219 kB / 1 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002474/0.002498, allocations: 1.277 MB / 1.001 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0005554/0.003054, allocations: 215.2 kB / 1.002 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.003076, allocations: 0 / 1.002 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.003097, allocations: 3.938 kB / 1.002 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 3.386e-05/0.00313, allocations: 0 / 1.002 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.003482, allocations: 47.75 kB / 1.002 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.715e-05/0.003549, allocations: 15.92 kB / 1.002 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.003598, allocations: 4 kB / 1.002 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.042e-05/0.003639, allocations: 11.98 kB / 1.002 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.262e-05/0.003721, allocations: 19.91 kB / 1.002 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.003738, allocations: 0 / 1.002 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.003852, allocations: 39.97 kB / 1.002 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.003869, allocations: 3.984 kB / 1.002 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.003888, allocations: 4 kB / 1.002 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.004034, allocations: 47.88 kB / 1.002 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004037, allocations: 0 / 1.002 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.72e-07/0.004038, allocations: 0 / 1.002 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.004041, allocations: 0 / 1.002 GB, free: 4.492 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004427/0.004484, allocations: 262.3 kB / 1.002 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.00453, allocations: 11.98 kB / 1.002 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.004689, allocations: 12.92 kB / 1.002 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.73e-05/0.004786, allocations: 109.7 kB / 1.002 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.004805, allocations: 4.375 kB / 1.002 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.004836, allocations: 4.375 kB / 1.002 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.005017, allocations: 75.88 kB / 1.002 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.005027, allocations: 192 / 1.002 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.005038, allocations: 384 / 1.002 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.005045, allocations: 384 / 1.002 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.286e-05/0.005098, allocations: 19.94 kB / 1.002 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.005257, allocations: 113.3 kB / 1.002 GB, free: 3.793 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.005378, allocations: 46.44 kB / 1.002 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.00543, allocations: 20.97 kB / 1.002 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.005446, allocations: 4 kB / 1.002 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.005483, allocations: 38.56 kB / 1.002 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.005485, allocations: 0 / 1.002 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.002172/0.007656, allocations: 421 kB / 1.003 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.007697, allocations: 55.34 kB / 1.003 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.816e-05/0.007745, allocations: 97.84 kB / 1.003 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.007774, allocations: 25.7 kB / 1.003 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.007816, allocations: 80.14 kB / 1.003 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.007858, allocations: 27.75 kB / 1.003 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.007905, allocations: 21.72 kB / 1.003 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.008051, allocations: 322.8 kB / 1.003 GB, free: 2.555 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.008107, allocations: 19.94 kB / 1.004 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.39e-05/0.008151, allocations: 23.98 kB / 1.004 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.008258, allocations: 56.86 kB / 1.004 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.008259, allocations: 0 / 1.004 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000162/0.008421, allocations: 97.61 kB / 1.004 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.008435, allocations: 4 kB / 1.004 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.00844, allocations: 0 / 1.004 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.008455, allocations: 288 / 1.004 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.008602, allocations: 12 kB / 1.004 GB, free: 2.336 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.008612, allocations: 11.94 kB / 1.004 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.033e-05/0.008682, allocations: 11.92 kB / 1.004 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.00869, allocations: 0 / 1.004 GB, free: 2.312 MB / 0.9044 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 (9): * Single equations (assignments): 9 * 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 9.762e-05/0.008788, allocations: 114.3 kB / 1.004 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.00881, allocations: 7.938 kB / 1.004 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.588e-05/0.008866, allocations: 19.97 kB / 1.004 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.008868, allocations: 0 / 1.004 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.008873, allocations: 7.875 kB / 1.004 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.008876, allocations: 0 / 1.004 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.009018, allocations: 119.2 kB / 1.004 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.009019, allocations: 0 / 1.004 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.009154, allocations: 19.98 kB / 1.004 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.009156, allocations: 0 / 1.004 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.00917, allocations: 4 kB / 1.004 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.009172, allocations: 0 / 1.004 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009173, allocations: 0 / 1.004 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.009449, allocations: 145 kB / 1.004 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.009457, allocations: 4.469 kB / 1.004 GB, free: 1.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.009475, allocations: 4 kB / 1.004 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.009588, allocations: 7.984 kB / 1.004 GB, free: 1.809 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.009622, allocations: 4 kB / 1.004 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.009632, allocations: 12 kB / 1.004 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.009667, allocations: 75.28 kB / 1.004 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6e-08/0.009667, allocations: 0 / 1.004 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001983/0.009866, allocations: 16 kB / 1.004 GB, free: 1.703 MB / 0.9044 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 (8): * Single equations (assignments): 8 * 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.0001485/0.01001, allocations: 99.23 kB / 1.004 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.01018, allocations: 59.91 kB / 1.004 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01018, allocations: 0 / 1.004 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.1e-05/0.01024, allocations: 31.98 kB / 1.004 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.01046, allocations: 14.44 kB / 1.004 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.01102, allocations: 180.5 kB / 1.005 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.604e-05/0.01108, allocations: 67.28 kB / 1.005 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.099e-05/0.01115, allocations: 11.98 kB / 1.005 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.01119, allocations: 12.5 kB / 1.005 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/0.01119, allocations: 0 / 1.005 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of Templates: time 0.003489/0.01468, allocations: 0.7244 MB / 1.005 GB, free: 0.5078 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.053111992776394]