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.001605/0.001605, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.001779/0.001779, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.478/1.478, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.873/2.873, allocations: 496.2 MB / 0.7819 GB, free: 12.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002022/0.002022, allocations: 67.89 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9578/0.9598, allocations: 173.6 MB / 1.305 GB, free: 33.4 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00201/0.9618, allocations: 1.257 MB / 1.307 GB, free: 32.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004594/0.9623, allocations: 242.7 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.9623, allocations: 0 / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.9623, allocations: 0 / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.65e-05/0.9624, allocations: 3.984 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.9626, allocations: 50.69 kB / 1.307 GB, free: 32.33 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.301e-05/0.9627, allocations: 16.23 kB / 1.307 GB, free: 32.33 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.9627, allocations: 4 kB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.941e-05/0.9627, allocations: 9.656 kB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.9628, allocations: 10.42 kB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.9628, allocations: 6.594 kB / 1.307 GB, free: 32.31 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.883e-05/0.9629, allocations: 45.44 kB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.9629, allocations: 3.984 kB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.9629, allocations: 10.53 kB / 1.307 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.9631, allocations: 40.08 kB / 1.307 GB, free: 32.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9631, allocations: 2.625 kB / 1.307 GB, free: 32.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9631, allocations: 3.938 kB / 1.307 GB, free: 32.28 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.9631, allocations: 0 / 1.307 GB, free: 32.28 MB / 1.061 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.0003491/0.9634, allocations: 337 kB / 1.307 GB, free: 31.92 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.9634, allocations: 12.67 kB / 1.307 GB, free: 31.92 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.9636, allocations: 12.84 kB / 1.307 GB, free: 31.92 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.122e-05/0.9636, allocations: 171.8 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-06/0.9637, allocations: 384 / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.9637, allocations: 7.344 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.9638, allocations: 45.7 kB / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.9638, allocations: 192 / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.9638, allocations: 3.938 kB / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.9638, allocations: 2.906 kB / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.303e-05/0.9639, allocations: 15.61 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.964, allocations: 158.2 kB / 1.308 GB, free: 31.47 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.571e-05/0.9641, allocations: 43.89 kB / 1.308 GB, free: 31.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.9641, allocations: 17.77 kB / 1.308 GB, free: 31.42 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.9641, allocations: 4 kB / 1.308 GB, free: 31.42 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.9641, allocations: 33.89 kB / 1.308 GB, free: 31.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.9641, allocations: 0 / 1.308 GB, free: 31.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001957/0.9661, allocations: 0.4959 MB / 1.308 GB, free: 31.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.9661, allocations: 51.41 kB / 1.308 GB, free: 30.99 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.905e-05/0.9661, allocations: 89.86 kB / 1.309 GB, free: 30.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.9662, allocations: 32.67 kB / 1.309 GB, free: 30.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.793e-05/0.9662, allocations: 80.14 kB / 1.309 GB, free: 30.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.9662, allocations: 33.92 kB / 1.309 GB, free: 30.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.9662, allocations: 23.66 kB / 1.309 GB, free: 30.72 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.142e-05/0.9663, allocations: 318.2 kB / 1.309 GB, free: 30.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.071e-05/0.9663, allocations: 23.06 kB / 1.309 GB, free: 30.4 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.362e-05/0.9664, allocations: 19.62 kB / 1.309 GB, free: 30.39 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.714e-05/0.9664, allocations: 66.14 kB / 1.309 GB, free: 30.35 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.9664, allocations: 2.844 kB / 1.309 GB, free: 30.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001221/0.9666, allocations: 86.61 kB / 1.309 GB, free: 30.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.9666, allocations: 12.03 kB / 1.309 GB, free: 30.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.9666, allocations: 4.016 kB / 1.309 GB, free: 30.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.9666, allocations: 0 / 1.309 GB, free: 30.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.9667, allocations: 18.8 kB / 1.309 GB, free: 30.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.9668, allocations: 3.984 kB / 1.309 GB, free: 30.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.9668, allocations: 7.5 kB / 1.309 GB, free: 30.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.9668, allocations: 0 / 1.309 GB, free: 30.28 MB / 1.061 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 5.627e-05/0.9669, allocations: 116.4 kB / 1.309 GB, free: 30.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.9669, allocations: 6.75 kB / 1.309 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.9669, allocations: 11.97 kB / 1.309 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.9669, allocations: 4 kB / 1.309 GB, free: 30.13 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9669, allocations: 5.984 kB / 1.309 GB, free: 30.13 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.967, allocations: 4 kB / 1.309 GB, free: 30.13 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.341e-05/0.967, allocations: 173.3 kB / 1.31 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.967, allocations: 0 / 1.31 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.9672, allocations: 14.25 kB / 1.31 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.9672, allocations: 6.719 kB / 1.31 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.9672, allocations: 0 / 1.31 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.9672, allocations: 0 / 1.31 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.9672, allocations: 0 / 1.31 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.9674, allocations: 155 kB / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.9674, allocations: 83.86 kB / 1.31 GB, free: 29.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.9674, allocations: 0 / 1.31 GB, free: 29.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.9675, allocations: 7.031 kB / 1.31 GB, free: 29.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.9676, allocations: 10.19 kB / 1.31 GB, free: 29.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.9676, allocations: 6.906 kB / 1.31 GB, free: 29.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.194e-05/0.9676, allocations: 75.28 kB / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9676, allocations: 0 / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001881/0.9678, allocations: 12.53 kB / 1.31 GB, free: 29.62 MB / 1.061 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.0001125/0.9679, allocations: 109.6 kB / 1.31 GB, free: 29.54 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001504/0.968, allocations: 54.3 kB / 1.31 GB, free: 29.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.968, allocations: 0 / 1.31 GB, free: 29.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.298e-05/0.9681, allocations: 28.78 kB / 1.31 GB, free: 29.51 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.9683, allocations: 10.42 kB / 1.31 GB, free: 29.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.9688, allocations: 188.3 kB / 1.31 GB, free: 29.36 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.865e-05/0.9689, allocations: 0.6848 MB / 1.311 GB, free: 28.66 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.658e-05/0.969, allocations: 14.41 kB / 1.311 GB, free: 28.65 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.969, allocations: 10.28 kB / 1.311 GB, free: 28.64 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.969, allocations: 0 / 1.311 GB, free: 28.64 MB / 1.061 GB Notification: Performance of Templates: time 0.002946/0.972, allocations: 0.7142 MB / 1.312 GB, free: 28.6 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 400] 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: 9.100563725456595]