Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00187/0.00187, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002434/0.002434, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 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.46/1.46, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 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 3.228/3.228, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8776 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.41e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002428/0.002452, allocations: 1.315 MB / 0.8789 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.003601, allocations: 0.597 MB / 0.8795 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.578e-05/0.003617, allocations: 0 / 0.8795 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.003637, allocations: 0 / 0.8795 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.72e-05/0.003684, allocations: 11.86 kB / 0.8795 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.004136, allocations: 103.4 kB / 0.8796 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.519e-05/0.004201, allocations: 27.86 kB / 0.8796 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.284e-05/0.004234, allocations: 4.594 kB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.468e-05/0.004279, allocations: 21 kB / 0.8796 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.004343, allocations: 7.984 kB / 0.8797 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.004357, allocations: 0 / 0.8797 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.004635, allocations: 140.3 kB / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.004653, allocations: 8 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.004679, allocations: 9.516 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.00493, allocations: 114.4 kB / 0.8799 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004932, allocations: 3.938 kB / 0.8799 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.21e-07/0.004933, allocations: 0 / 0.8799 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.004936, allocations: 0.9688 kB / 0.8799 GB, free: 4.117 MB / 0.8386 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.0004995/0.005436, allocations: 282.8 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.00547, allocations: 8.031 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004867/0.005957, allocations: 44.81 kB / 0.8802 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.006072, allocations: 105.8 kB / 0.8803 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.006089, allocations: 4.375 kB / 0.8803 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.006114, allocations: 384 / 0.8803 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.006315, allocations: 79.92 kB / 0.8804 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.006323, allocations: 192 / 0.8804 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.006335, allocations: 8.375 kB / 0.8804 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.006339, allocations: 384 / 0.8804 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.006492, allocations: 35.84 kB / 0.8805 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.006674, allocations: 117.2 kB / 0.8806 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.007059, allocations: 62.58 kB / 0.8806 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.444e-05/0.007153, allocations: 32.94 kB / 0.8807 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.007174, allocations: 0 / 0.8807 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.007204, allocations: 34.56 kB / 0.8807 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.007205, allocations: 0 / 0.8807 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.00381/0.01102, allocations: 0.5006 MB / 0.8812 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.01106, allocations: 59.34 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.44e-05/0.01114, allocations: 97.86 kB / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.01117, allocations: 29.64 kB / 0.8814 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.01122, allocations: 84.14 kB / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.01127, allocations: 31.72 kB / 0.8815 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/0.01133, allocations: 21.7 kB / 0.8815 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.01149, allocations: 314.8 kB / 0.8818 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.01165, allocations: 39.95 kB / 0.8818 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.01179, allocations: 40.09 kB / 0.8819 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.01209, allocations: 76.81 kB / 0.8819 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.01209, allocations: 4 kB / 0.8819 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003935/0.01248, allocations: 121.6 kB / 0.8821 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.0125, allocations: 4 kB / 0.8821 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.0125, allocations: 0 / 0.8821 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.01252, allocations: 0 / 0.8821 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.01276, allocations: 27.91 kB / 0.8821 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.01277, allocations: 3.938 kB / 0.8821 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.01293, allocations: 8 kB / 0.8821 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.01295, allocations: 11.98 kB / 0.8821 GB, free: 1.652 MB / 0.8386 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 9.884e-05/0.01305, allocations: 105.8 kB / 0.8822 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.01308, allocations: 7.953 kB / 0.8822 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/0.01314, allocations: 16.39 kB / 0.8822 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01314, allocations: 0 / 0.8822 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.01315, allocations: 7.938 kB / 0.8822 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.01316, allocations: 8.031 kB / 0.8823 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.01343, allocations: 135.6 kB / 0.8824 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01344, allocations: 0 / 0.8824 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.01368, allocations: 19.97 kB / 0.8824 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.01368, allocations: 4 kB / 0.8824 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.0137, allocations: 0 / 0.8824 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.0137, allocations: 0 / 0.8824 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.0137, allocations: 3.984 kB / 0.8824 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006024/0.0143, allocations: 196.9 kB / 0.8826 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.01432, allocations: 7.953 kB / 0.8826 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.01434, allocations: 4.031 kB / 0.8826 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.01455, allocations: 12.05 kB / 0.8826 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.01457, allocations: 11.94 kB / 0.8826 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.01459, allocations: 7.922 kB / 0.8826 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.499e-05/0.01464, allocations: 79.28 kB / 0.8827 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01464, allocations: 0 / 0.8827 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002554/0.01489, allocations: 35.86 kB / 0.8828 GB, free: 0.9453 MB / 0.8386 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.000228/0.01512, allocations: 123.2 kB / 0.8829 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.01549, allocations: 91.95 kB / 0.883 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01549, allocations: 0 / 0.883 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.01565, allocations: 39.97 kB / 0.883 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.01589, allocations: 21.06 kB / 0.883 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006934/0.01659, allocations: 172.4 kB / 0.8832 GB, free: 480 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.357e-05/0.01665, allocations: 67.97 kB / 0.8832 GB, free: 392 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001851/0.01684, allocations: 24 kB / 0.8833 GB, free: 368 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.028e-05/0.01692, allocations: 20.47 kB / 0.8833 GB, free: 348 kB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/0.01692, allocations: 0 / 0.8833 GB, free: 348 kB / 0.8386 GB Notification: Performance of Templates: time 0.005044/0.02196, allocations: 1.648 MB / 0.8849 GB, free: 14.76 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.096493275952525]