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.001547/0.001547, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001879/0.001879, allocations: 214.2 kB / 23.03 MB, free: 4.918 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.952/2.952, allocations: 476.8 MB / 0.7715 GB, free: 3.902 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [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.002059/0.002059, allocations: 64.06 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3285, allocations: 170 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002594/0.3311, allocations: 1.305 MB / 1.285 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3324, allocations: 0.5939 MB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.849e-05/0.3324, allocations: 0 / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.3324, allocations: 0 / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.3325, allocations: 7.922 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005394/0.333, allocations: 107.5 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.258e-05/0.3331, allocations: 27.86 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.3331, allocations: 12 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.3332, allocations: 4 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.3332, allocations: 19.92 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.3333, allocations: 0 / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003323/0.3336, allocations: 139.8 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.3336, allocations: 3.984 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.3336, allocations: 11.94 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.3339, allocations: 100.9 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3339, allocations: 0 / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3339, allocations: 0 / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3339, allocations: 0 / 1.286 GB, free: 8.289 MB / 0.9825 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.000533/0.3344, allocations: 290 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.3345, allocations: 15.97 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.532e-05/0.3345, allocations: 192 / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.3346, allocations: 30.75 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004892/0.3351, allocations: 32.89 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.3352, allocations: 110.5 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3352, allocations: 384 / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.3352, allocations: 4.375 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.3354, allocations: 87.61 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3354, allocations: 0 / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3354, allocations: 0 / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3355, allocations: 3.984 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.3356, allocations: 27.98 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.3358, allocations: 140.6 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.3361, allocations: 66.58 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.3362, allocations: 20.94 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3362, allocations: 4 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.3363, allocations: 42.42 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.3363, allocations: 0 / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.003649/0.3399, allocations: 0.5085 MB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.34, allocations: 51.41 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/0.3401, allocations: 93.86 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.3401, allocations: 29.69 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.3401, allocations: 80.14 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.3402, allocations: 23.92 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.3403, allocations: 29.69 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3404, allocations: 318.8 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3405, allocations: 31.97 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.3407, allocations: 35.97 kB / 1.288 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.341, allocations: 88.75 kB / 1.288 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.341, allocations: 0 / 1.288 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003748/0.3413, allocations: 133.6 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3414, allocations: 7.938 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3414, allocations: 0 / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3414, allocations: 4.328 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.3416, allocations: 23.97 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3416, allocations: 0 / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.3418, allocations: 11.98 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.3418, allocations: 4 kB / 1.289 GB, free: 5.742 MB / 0.9825 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.0001192/0.3419, allocations: 113.8 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.342, allocations: 7.938 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.182e-05/0.342, allocations: 16.05 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.342, allocations: 0 / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3421, allocations: 4 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3421, allocations: 0 / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.3423, allocations: 146.8 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.3423, allocations: 3.938 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.3425, allocations: 23.97 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3425, allocations: 0 / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.3425, allocations: 7.984 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3425, allocations: 0 / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3425, allocations: 0 / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.3431, allocations: 200.9 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.3431, allocations: 3.938 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.3432, allocations: 4.125 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.3433, allocations: 15.98 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.3434, allocations: 0 / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.3434, allocations: 7.984 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.511e-05/0.3434, allocations: 79.28 kB / 1.289 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3434, allocations: 0 / 1.289 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002681/0.3437, allocations: 32.09 kB / 1.289 GB, free: 5.016 MB / 0.9825 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.0009897/0.3447, allocations: 0.7528 MB / 1.29 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.345, allocations: 91.92 kB / 1.29 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.345, allocations: 0 / 1.29 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.3452, allocations: 47.89 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.3455, allocations: 8 kB / 1.29 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.3477, allocations: 1.36 MB / 1.291 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.257e-05/0.3478, allocations: 63.34 kB / 1.292 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000169/0.348, allocations: 24.09 kB / 1.292 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.348, allocations: 23.36 kB / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.348, allocations: 0 / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.3724, allocations: 2.731 MB / 1.294 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.88, allocations: 6.531 kB / 1.294 GB, free: 15.98 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-09 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 19.08656266797334]