Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001421/0.001421, allocations: 81.55 kB / 19.76 MB, free: 2.027 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.001503/0.001503, allocations: 159.7 kB / 23.01 MB, free: 4.957 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.415/1.415, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.776/2.776, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 71.89 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8686/0.8707, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.0031/0.8738, allocations: 1.274 MB / 1.155 GB, free: 32.44 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007051/0.8745, allocations: 216.4 kB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.8745, allocations: 0 / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.8746, allocations: 0 / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.007e-05/0.8746, allocations: 7.922 kB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.875, allocations: 43.02 kB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.942e-05/0.8751, allocations: 19.55 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.8752, allocations: 2.688 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.827e-05/0.8752, allocations: 14.62 kB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.151e-05/0.8753, allocations: 13.28 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.8753, allocations: 0 / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.8754, allocations: 45.91 kB / 1.156 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.8755, allocations: 0 / 1.156 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.8755, allocations: 10.5 kB / 1.156 GB, free: 32.24 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.8757, allocations: 41.44 kB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8757, allocations: 0 / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8757, allocations: 0 / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.8757, allocations: 0 / 1.156 GB, free: 32.23 MB / 1.076 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.000423/0.8761, allocations: 267 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.8761, allocations: 10.72 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.8763, allocations: 13.61 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.281e-05/0.8764, allocations: 108.7 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.8764, allocations: 4.375 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.8765, allocations: 2.875 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.8766, allocations: 71.58 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.8766, allocations: 192 / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.8766, allocations: 6.625 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.8766, allocations: 4 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.942e-05/0.8767, allocations: 19.78 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.8769, allocations: 106.7 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.877, allocations: 39.31 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.142e-05/0.8771, allocations: 20.41 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.8771, allocations: 2.594 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.8771, allocations: 34.5 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.8771, allocations: 0 / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.003165/0.8802, allocations: 426 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.8803, allocations: 54.22 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.275e-05/0.8803, allocations: 89.86 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.8803, allocations: 25.7 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.164e-05/0.8803, allocations: 84.14 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.8804, allocations: 37.97 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.8804, allocations: 22.73 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.743e-05/0.8805, allocations: 313.9 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.8806, allocations: 22.89 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.996e-05/0.8806, allocations: 27.75 kB / 1.157 GB, free: 30.63 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.8808, allocations: 57.89 kB / 1.157 GB, free: 30.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8808, allocations: 0 / 1.157 GB, free: 30.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002269/0.881, allocations: 95.98 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.8811, allocations: 5.625 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.8811, allocations: 3.938 kB / 1.157 GB, free: 30.53 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.8811, allocations: 0 / 1.157 GB, free: 30.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.8813, allocations: 21.14 kB / 1.157 GB, free: 30.53 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.8813, allocations: 0 / 1.157 GB, free: 30.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.8814, allocations: 7.938 kB / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.8814, allocations: 2.875 kB / 1.157 GB, free: 30.52 MB / 1.076 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 7.181e-05/0.8815, allocations: 112.5 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.8815, allocations: 2.719 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.295e-05/0.8816, allocations: 19.42 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.8816, allocations: 0 / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8816, allocations: 0 / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.8816, allocations: 2.75 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.8817, allocations: 115.4 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.8817, allocations: 0 / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.882, allocations: 18.92 kB / 1.158 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.882, allocations: 3.984 kB / 1.158 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.882, allocations: 7.344 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.882, allocations: 3.938 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.882, allocations: 4 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.8823, allocations: 145.6 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.8823, allocations: 3.953 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.8824, allocations: 3.062 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.8825, allocations: 14.84 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.8826, allocations: 6.344 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.8826, allocations: 4 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.556e-05/0.8826, allocations: 82 kB / 1.158 GB, free: 30.03 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8826, allocations: 0 / 1.158 GB, free: 30.03 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003675/0.883, allocations: 8.562 kB / 1.158 GB, free: 30.03 MB / 1.076 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.000111/0.8831, allocations: 107.5 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000217/0.8833, allocations: 51.11 kB / 1.158 GB, free: 29.92 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8833, allocations: 0 / 1.158 GB, free: 29.92 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.371e-05/0.8834, allocations: 36.48 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.8837, allocations: 13.02 kB / 1.158 GB, free: 29.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006309/0.8843, allocations: 171.6 kB / 1.158 GB, free: 29.77 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.036e-05/0.8843, allocations: 65.48 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.811e-05/0.8844, allocations: 11.92 kB / 1.158 GB, free: 29.69 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.8845, allocations: 15.47 kB / 1.158 GB, free: 29.68 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.8845, allocations: 3.938 kB / 1.158 GB, free: 29.68 MB / 1.076 GB Notification: Performance of Templates: time 0.004508/0.889, allocations: 0.6962 MB / 1.159 GB, free: 29.6 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.569652548991144]