Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001143/0.001143, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001561/0.002704, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001064/0.001064, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.002499, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9253/0.9253, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.103/1.028, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.873/1.873, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4885/2.361, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.361e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002674/0.002698, allocations: 1.384 MB / 0.731 GB, free: 3.023 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009976/0.003695, allocations: 0.651 MB / 0.7317 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.003718, allocations: 0 / 0.7317 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.939e-06/0.003728, allocations: 0 / 0.7317 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.229e-05/0.003761, allocations: 3.781 kB / 0.7317 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.004185, allocations: 107.5 kB / 0.7318 GB, free: 2.289 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.925e-05/0.004274, allocations: 28.19 kB / 0.7318 GB, free: 2.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.00432, allocations: 12.61 kB / 0.7318 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.883e-05/0.004379, allocations: 15.92 kB / 0.7318 GB, free: 2.242 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.624e-05/0.004455, allocations: 12.89 kB / 0.7318 GB, free: 2.23 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.00447, allocations: 0 / 0.7318 GB, free: 2.23 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.004766, allocations: 147.7 kB / 0.732 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.004782, allocations: 0.6562 kB / 0.732 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.004801, allocations: 8.875 kB / 0.732 GB, free: 2.078 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.005036, allocations: 95.67 kB / 0.7321 GB, free: 1.984 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-05/0.005059, allocations: 0 / 0.7321 GB, free: 1.984 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.716e-06/0.005062, allocations: 4.547 kB / 0.7321 GB, free: 1.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.005079, allocations: 0.6562 kB / 0.7321 GB, free: 1.98 MB / 0.698 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.0005374/0.005616, allocations: 269.1 kB / 0.7323 GB, free: 1.691 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.005654, allocations: 13.06 kB / 0.7324 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/0.006041, allocations: 111 kB / 0.7325 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.006141, allocations: 109.8 kB / 0.7326 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.006154, allocations: 6.094 kB / 0.7326 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.006182, allocations: 4.375 kB / 0.7326 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.006336, allocations: 84.62 kB / 0.7327 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.006344, allocations: 1 kB / 0.7327 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.006353, allocations: 384 / 0.7327 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.006359, allocations: 4.375 kB / 0.7327 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.401e-05/0.006403, allocations: 22.05 kB / 0.7327 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.006516, allocations: 73.08 kB / 0.7328 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.00669, allocations: 42.55 kB / 0.7328 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.006719, allocations: 17.81 kB / 0.7328 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.006736, allocations: 3.984 kB / 0.7328 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.006763, allocations: 39.69 kB / 0.7329 GB, free: 1.086 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.006764, allocations: 0 / 0.7329 GB, free: 1.086 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.002461/0.009226, allocations: 481.5 kB / 0.7333 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.009255, allocations: 56.62 kB / 0.7334 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.851e-05/0.009313, allocations: 98.7 kB / 0.7335 GB, free: 424 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.009333, allocations: 25.7 kB / 0.7335 GB, free: 392 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.009359, allocations: 85.2 kB / 0.7336 GB, free: 304 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.009397, allocations: 15.86 kB / 0.7336 GB, free: 288 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.009453, allocations: 29.67 kB / 0.7336 GB, free: 252 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.009559, allocations: 319.7 kB / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.78e-05/0.009607, allocations: 23.98 kB / 0.7339 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.009647, allocations: 21.23 kB / 0.734 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.009748, allocations: 49.56 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.009749, allocations: 4 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001495/0.009899, allocations: 75.8 kB / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.009917, allocations: 8 kB / 0.7341 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.009922, allocations: 0 / 0.7341 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.009936, allocations: 0 / 0.7341 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.01012, allocations: 29.2 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.01012, allocations: 0 / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.0102, allocations: 9.188 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.01021, allocations: 3.984 kB / 0.7341 GB, free: 15.7 MB / 0.7136 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 7.764e-05/0.01029, allocations: 109.8 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.01032, allocations: 9.234 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.01037, allocations: 15.5 kB / 0.7343 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01037, allocations: 0 / 0.7343 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.01038, allocations: 0 / 0.7343 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.01038, allocations: 0 / 0.7343 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.01049, allocations: 85.81 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01049, allocations: 3.938 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.01067, allocations: 30.98 kB / 0.7344 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.01068, allocations: 0 / 0.7344 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.01068, allocations: 0 / 0.7344 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.0107, allocations: 7.984 kB / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.0107, allocations: 0 / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.0107, allocations: 0 / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.01096, allocations: 125.7 kB / 0.7345 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.01098, allocations: 8 kB / 0.7345 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.01109, allocations: 5.781 kB / 0.7345 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.0111, allocations: 3.984 kB / 0.7345 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.01112, allocations: 7.984 kB / 0.7345 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.474e-05/0.01113, allocations: 11.23 kB / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.01113, allocations: 0 / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002223/0.01135, allocations: 35.88 kB / 0.7346 GB, free: 15.21 MB / 0.7136 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.0002405/0.0116, allocations: 116.2 kB / 0.7347 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.01176, allocations: 59.28 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.01176, allocations: 0 / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.092e-05/0.01184, allocations: 36.84 kB / 0.7348 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.01202, allocations: 77.83 kB / 0.7348 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.01337, allocations: 149.5 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.113e-05/0.01341, allocations: 63.62 kB / 0.735 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.01357, allocations: 33.52 kB / 0.7351 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.01372, allocations: 67.94 kB / 0.7351 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/0.01372, allocations: 0.5938 kB / 0.7351 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of Templates: time 0.00521/0.01893, allocations: 1.728 MB / 0.7368 GB, free: 12.97 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.969898144714534]