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.001975/0.001975, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00248/0.00248, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.488/1.488, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.904/2.904, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.434e-06/2.434e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.277e-05, allocations: 2.859 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003012/0.003044, allocations: 1.312 MB / 0.8121 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.004332, allocations: 0.5951 MB / 0.8127 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.004355, allocations: 0 / 0.8127 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.004379, allocations: 4.562 kB / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.211e-05/0.004432, allocations: 4.828 kB / 0.8127 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.00499, allocations: 112.4 kB / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.562e-05/0.005066, allocations: 27.86 kB / 0.8128 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.005103, allocations: 4.547 kB / 0.8128 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.005143, allocations: 11.98 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.00521, allocations: 5.281 kB / 0.8128 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.00523, allocations: 4 kB / 0.8129 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.005578, allocations: 147.7 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.005591, allocations: 0.5938 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.005625, allocations: 11.92 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.005885, allocations: 109 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005888, allocations: 0 / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.52e-07/0.005889, allocations: 0 / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.005893, allocations: 6.406 kB / 0.8131 GB, free: 15.76 MB / 0.7761 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.0005808/0.006474, allocations: 274.1 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.006516, allocations: 12.03 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005107/0.007027, allocations: 49.97 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.007161, allocations: 105.8 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.007174, allocations: 1.625 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.007204, allocations: 4.375 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.007446, allocations: 85.45 kB / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.007455, allocations: 192 / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.00747, allocations: 4.312 kB / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.007475, allocations: 384 / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.007626, allocations: 33.84 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.007821, allocations: 113.2 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.008172, allocations: 71.86 kB / 0.8138 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.572e-05/0.008267, allocations: 26.17 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.008293, allocations: 4 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.008325, allocations: 31.09 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.008326, allocations: 0 / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.003777/0.0121, allocations: 0.5068 MB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.01216, allocations: 55.34 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.069e-05/0.01225, allocations: 94.7 kB / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.01229, allocations: 27.3 kB / 0.8146 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.01234, allocations: 84.14 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.01239, allocations: 27.78 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.01246, allocations: 25.7 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.01264, allocations: 315.8 kB / 0.815 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.0128, allocations: 39.34 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.01294, allocations: 39.89 kB / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.01325, allocations: 76.83 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.01325, allocations: 0.5 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004074/0.01366, allocations: 127.8 kB / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.01368, allocations: 8 kB / 0.8153 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.01369, allocations: 4.953 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.01371, allocations: 0 / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.01394, allocations: 30.22 kB / 0.8153 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.01395, allocations: 11.86 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.01412, allocations: 4 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.01414, allocations: 3.984 kB / 0.8153 GB, free: 13.32 MB / 0.7761 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.0001167/0.01425, allocations: 116.9 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.01429, allocations: 4 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.049e-05/0.01435, allocations: 13 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01435, allocations: 0 / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.01436, allocations: 3.938 kB / 0.8155 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01436, allocations: 5.125 kB / 0.8155 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.01454, allocations: 131.5 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01454, allocations: 0 / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.01478, allocations: 25.03 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01478, allocations: 0 / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.0148, allocations: 1.094 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.0148, allocations: 4 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.0148, allocations: 0 / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006313/0.01544, allocations: 200.5 kB / 0.8158 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.01544, allocations: 4.031 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.01547, allocations: 4 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.01567, allocations: 13.39 kB / 0.8158 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.01569, allocations: 0 / 0.8158 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.01571, allocations: 11.92 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.01576, allocations: 76.34 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01576, allocations: 4 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002679/0.01603, allocations: 32.84 kB / 0.8159 GB, free: 12.64 MB / 0.7761 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.0002494/0.01628, allocations: 130.4 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000359/0.01664, allocations: 87.86 kB / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01664, allocations: 0 / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.0168, allocations: 44.25 kB / 0.8162 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.01706, allocations: 20.16 kB / 0.8162 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009032/0.01797, allocations: 167.1 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.042e-05/0.01804, allocations: 75.2 kB / 0.8164 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001715/0.01821, allocations: 27.94 kB / 0.8165 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.754e-05/0.01828, allocations: 20.47 kB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.01829, allocations: 4 kB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.004858/0.02314, allocations: 1.635 MB / 0.8181 GB, free: 10.45 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.739233380998485]