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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 108.7 kB / 18.94 MB, free: 2.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 193.4 kB / 22.23 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.084/3.084, allocations: 0.4893 GB / 0.7884 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.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 0.001996/0.001996, allocations: 75.55 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3586, allocations: 174.9 MB / 1.316 GB, free: 9.758 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002774/0.3614, allocations: 1.264 MB / 1.317 GB, free: 8.484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006802/0.3621, allocations: 235.3 kB / 1.317 GB, free: 8.254 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.46e-05/0.3621, allocations: 0 / 1.317 GB, free: 8.254 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.3621, allocations: 0 / 1.317 GB, free: 8.254 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.3622, allocations: 3.938 kB / 1.317 GB, free: 8.25 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.3625, allocations: 43.81 kB / 1.318 GB, free: 8.207 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.307e-05/0.3626, allocations: 23.86 kB / 1.318 GB, free: 8.184 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.442e-05/0.3627, allocations: 7.984 kB / 1.318 GB, free: 8.176 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.558e-05/0.3627, allocations: 7.938 kB / 1.318 GB, free: 8.168 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.847e-05/0.3628, allocations: 8 kB / 1.318 GB, free: 8.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.3628, allocations: 0 / 1.318 GB, free: 8.16 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.3629, allocations: 47.95 kB / 1.318 GB, free: 8.113 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.363, allocations: 11.92 kB / 1.318 GB, free: 8.102 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.363, allocations: 7.984 kB / 1.318 GB, free: 8.094 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.3632, allocations: 39.84 kB / 1.318 GB, free: 8.055 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3632, allocations: 4 kB / 1.318 GB, free: 8.051 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3632, allocations: 0 / 1.318 GB, free: 8.051 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.3632, allocations: 0 / 1.318 GB, free: 8.051 MB / 1.014 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.0005505/0.3637, allocations: 254.3 kB / 1.318 GB, free: 7.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.3638, allocations: 12.03 kB / 1.318 GB, free: 7.758 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.364, allocations: 8.922 kB / 1.318 GB, free: 7.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3641, allocations: 114.5 kB / 1.318 GB, free: 7.613 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3641, allocations: 384 / 1.318 GB, free: 7.613 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.3642, allocations: 8.375 kB / 1.318 GB, free: 7.605 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.3643, allocations: 50.23 kB / 1.318 GB, free: 7.551 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3644, allocations: 192 / 1.318 GB, free: 7.551 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.3644, allocations: 7.938 kB / 1.318 GB, free: 7.543 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3644, allocations: 3.938 kB / 1.318 GB, free: 7.539 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.182e-05/0.3644, allocations: 12 kB / 1.318 GB, free: 7.527 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.3647, allocations: 132.7 kB / 1.318 GB, free: 7.355 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.3648, allocations: 46.62 kB / 1.318 GB, free: 7.301 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.3648, allocations: 16.98 kB / 1.318 GB, free: 7.281 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.3649, allocations: 0 / 1.318 GB, free: 7.281 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.3649, allocations: 42.55 kB / 1.318 GB, free: 7.23 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3649, allocations: 0 / 1.318 GB, free: 7.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.002158/0.3671, allocations: 420.9 kB / 1.319 GB, free: 6.785 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.3671, allocations: 59.41 kB / 1.319 GB, free: 6.715 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.988e-05/0.3672, allocations: 89.86 kB / 1.319 GB, free: 6.617 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.3672, allocations: 25.7 kB / 1.319 GB, free: 6.586 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.3672, allocations: 80.14 kB / 1.319 GB, free: 6.504 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.3673, allocations: 31.8 kB / 1.319 GB, free: 6.473 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.3673, allocations: 21.66 kB / 1.319 GB, free: 6.445 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3675, allocations: 322.8 kB / 1.319 GB, free: 6.121 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.3676, allocations: 20 kB / 1.319 GB, free: 6.102 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.911e-05/0.3676, allocations: 27.92 kB / 1.319 GB, free: 6.074 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.3677, allocations: 56.8 kB / 1.319 GB, free: 6.016 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.3677, allocations: 0 / 1.319 GB, free: 6.016 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001518/0.3679, allocations: 89.69 kB / 1.32 GB, free: 5.922 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3679, allocations: 9.031 kB / 1.32 GB, free: 5.914 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3679, allocations: 4 kB / 1.32 GB, free: 5.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3679, allocations: 3.938 kB / 1.32 GB, free: 5.906 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3681, allocations: 15.98 kB / 1.32 GB, free: 5.891 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3681, allocations: 4 kB / 1.32 GB, free: 5.887 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.3682, allocations: 0 / 1.32 GB, free: 5.887 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.3682, allocations: 80 / 1.32 GB, free: 5.887 MB / 1.014 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 0.0001068/0.3683, allocations: 114.7 kB / 1.32 GB, free: 5.766 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.3683, allocations: 7.891 kB / 1.32 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.702e-05/0.3684, allocations: 15.89 kB / 1.32 GB, free: 5.734 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.3684, allocations: 11.98 kB / 1.32 GB, free: 5.723 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3684, allocations: 0 / 1.32 GB, free: 5.723 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3684, allocations: 0 / 1.32 GB, free: 5.723 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.3685, allocations: 158.1 kB / 1.32 GB, free: 5.527 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3685, allocations: 448 / 1.32 GB, free: 5.527 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.3687, allocations: 15.94 kB / 1.32 GB, free: 5.512 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3687, allocations: 7.938 kB / 1.32 GB, free: 5.504 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3687, allocations: 4 kB / 1.32 GB, free: 5.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.3687, allocations: 3.984 kB / 1.32 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3687, allocations: 0 / 1.32 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.3689, allocations: 145.4 kB / 1.32 GB, free: 5.336 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.369, allocations: 7.969 kB / 1.32 GB, free: 5.328 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.369, allocations: 3.984 kB / 1.32 GB, free: 5.324 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3691, allocations: 7.938 kB / 1.32 GB, free: 5.316 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.3691, allocations: 3.984 kB / 1.32 GB, free: 5.312 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3691, allocations: 4 kB / 1.32 GB, free: 5.309 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.62e-05/0.3691, allocations: 79.28 kB / 1.32 GB, free: 5.23 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3691, allocations: 8 kB / 1.32 GB, free: 5.223 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001856/0.3693, allocations: 12 kB / 1.32 GB, free: 5.211 MB / 1.014 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.0001255/0.3695, allocations: 99.72 kB / 1.32 GB, free: 5.105 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001695/0.3696, allocations: 59.97 kB / 1.32 GB, free: 5.047 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3696, allocations: 0 / 1.32 GB, free: 5.047 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.806e-05/0.3697, allocations: 31.92 kB / 1.32 GB, free: 5.016 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.3699, allocations: 8 kB / 1.32 GB, free: 5.008 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/0.3706, allocations: 182.6 kB / 1.321 GB, free: 4.805 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.371, allocations: 0.6807 MB / 1.321 GB, free: 4.098 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.325e-05/0.3711, allocations: 11.98 kB / 1.321 GB, free: 4.086 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.3711, allocations: 7.438 kB / 1.321 GB, free: 4.078 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.3711, allocations: 0 / 1.321 GB, free: 4.078 MB / 1.014 GB Notification: Performance of Templates: time 0.003548/0.3747, allocations: 0.7465 MB / 1.322 GB, free: 3.375 MB / 1.014 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.577605105936527]