Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002366/0.002366, allocations: 87.69 kB / 20.24 MB, free: 4.188 MB / 18.57 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.00275/0.00275, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.597/1.597, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.899/2.899, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.76e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002569/0.002597, allocations: 1.314 MB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.003868, allocations: 0.6427 MB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/0.003896, allocations: 5.188 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.003912, allocations: 0 / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.548e-05/0.003958, allocations: 4 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.004448, allocations: 113 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.00452, allocations: 31.84 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.004557, allocations: 3.984 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.898e-05/0.004606, allocations: 13.22 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.004674, allocations: 7.984 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.004693, allocations: 4 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.004997, allocations: 140.4 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.005017, allocations: 7.969 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.005043, allocations: 8.906 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.005311, allocations: 111.7 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.005315, allocations: 1.594 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005316, allocations: 0 / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.005321, allocations: 4 kB / 0.7888 GB, free: 10.37 MB / 0.7448 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.0005896/0.005911, allocations: 380.9 kB / 0.7891 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.005946, allocations: 12.03 kB / 0.7891 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000437/0.006383, allocations: 36.2 kB / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.006505, allocations: 112.6 kB / 0.7893 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.006517, allocations: 384 / 0.7893 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.006545, allocations: 8.375 kB / 0.7893 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.006738, allocations: 79.92 kB / 0.7894 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.006747, allocations: 192 / 0.7894 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.006758, allocations: 1.094 kB / 0.7894 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.006763, allocations: 384 / 0.7894 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.006917, allocations: 37.56 kB / 0.7894 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.007137, allocations: 112.6 kB / 0.7895 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.007455, allocations: 80.44 kB / 0.7896 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.673e-05/0.007531, allocations: 28.12 kB / 0.7896 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.007552, allocations: 5.422 kB / 0.7896 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.00759, allocations: 37.39 kB / 0.7896 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.007591, allocations: 0 / 0.7896 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.003495/0.01109, allocations: 0.4927 MB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.01113, allocations: 55.34 kB / 0.7902 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.01125, allocations: 158.5 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.01128, allocations: 31.08 kB / 0.7904 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.01135, allocations: 126.9 kB / 0.7905 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.01139, allocations: 23.8 kB / 0.7905 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.45e-05/0.01147, allocations: 32.5 kB / 0.7905 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002609/0.01173, allocations: 496.1 kB / 0.791 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.01186, allocations: 44.81 kB / 0.791 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.01198, allocations: 32.52 kB / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.01227, allocations: 101.3 kB / 0.7912 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01227, allocations: 0 / 0.7912 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003681/0.01264, allocations: 134.9 kB / 0.7913 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.01266, allocations: 4.969 kB / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.01266, allocations: 0 / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.01267, allocations: 0 / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.01289, allocations: 30.28 kB / 0.7913 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.0129, allocations: 4.172 kB / 0.7913 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.01303, allocations: 4 kB / 0.7913 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.01305, allocations: 7.969 kB / 0.7914 GB, free: 7.488 MB / 0.7448 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 0.0001292/0.01318, allocations: 168 kB / 0.7915 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.01321, allocations: 336 / 0.7915 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.01327, allocations: 12.12 kB / 0.7915 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.485e-06/0.01327, allocations: 7.969 kB / 0.7915 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.01328, allocations: 4.781 kB / 0.7915 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01328, allocations: 64 / 0.7915 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.01348, allocations: 142.8 kB / 0.7917 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01349, allocations: 0.5 kB / 0.7917 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.01372, allocations: 20.53 kB / 0.7917 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.01373, allocations: 4.562 kB / 0.7917 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.01374, allocations: 5.281 kB / 0.7917 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01375, allocations: 0 / 0.7917 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.01375, allocations: 0 / 0.7917 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.0143, allocations: 225.8 kB / 0.7919 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.0143, allocations: 0.6562 kB / 0.7919 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.01433, allocations: 3.984 kB / 0.7919 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.01448, allocations: 9.969 kB / 0.7919 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.01451, allocations: 4 kB / 0.7919 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.01454, allocations: 11.92 kB / 0.7919 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.754e-05/0.0146, allocations: 122.5 kB / 0.7921 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0146, allocations: 0 / 0.7921 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002394/0.01484, allocations: 35.86 kB / 0.7921 GB, free: 6.672 MB / 0.7448 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.0002282/0.01507, allocations: 129.2 kB / 0.7922 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003323/0.0154, allocations: 104.5 kB / 0.7923 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.01541, allocations: 4 kB / 0.7923 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.01557, allocations: 52.69 kB / 0.7924 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.01575, allocations: 17.11 kB / 0.7924 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.0164, allocations: 167.4 kB / 0.7925 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.052e-05/0.01648, allocations: 68.09 kB / 0.7926 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001677/0.01665, allocations: 30.66 kB / 0.7926 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.01672, allocations: 16.48 kB / 0.7927 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.01672, allocations: 3.938 kB / 0.7927 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of Templates: time 0.005259/0.02198, allocations: 1.658 MB / 0.7943 GB, free: 4.438 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.950190800009295]