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.001308/0.001308, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001464/0.001464, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.953/2.953, allocations: 476.7 MB / 0.7714 GB, free: 4.309 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.002069/0.002069, allocations: 65.61 kB / 1.118 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.364, allocations: 170 MB / 1.284 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002824/0.3668, allocations: 1.319 MB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3683, allocations: 0.6484 MB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.3683, allocations: 0 / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.3683, allocations: 0 / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.424e-05/0.3684, allocations: 7.938 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.369, allocations: 111.5 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.877e-05/0.3691, allocations: 27.92 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.3691, allocations: 0 / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.793e-05/0.3692, allocations: 12 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.512e-05/0.3693, allocations: 11.92 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.3693, allocations: 0 / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.3697, allocations: 155.7 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.3697, allocations: 3.984 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.3697, allocations: 7.938 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.37, allocations: 111.6 kB / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.37, allocations: 0 / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.924e-06/0.37, allocations: 8 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.37, allocations: 0 / 1.287 GB, free: 9.172 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.0005896/0.3706, allocations: 282.1 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.3706, allocations: 12.03 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.294e-05/0.3707, allocations: 4.125 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.3707, allocations: 30.75 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005178/0.3712, allocations: 36.89 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.3714, allocations: 106.5 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3714, allocations: 4.375 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.3714, allocations: 384 / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.3716, allocations: 61.95 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3717, allocations: 0 / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3717, allocations: 0 / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3717, allocations: 4 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.3718, allocations: 31.97 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.3721, allocations: 144.6 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.3725, allocations: 66.53 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.684e-05/0.3726, allocations: 24.94 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.3726, allocations: 4 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.3726, allocations: 34.5 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.3726, allocations: 0 / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.003607/0.3762, allocations: 0.5085 MB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.3763, allocations: 59.34 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.3764, allocations: 89.86 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.3765, allocations: 29.7 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.3765, allocations: 80.14 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/0.3766, allocations: 23.78 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.281e-05/0.3767, allocations: 29.83 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3769, allocations: 314.8 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.3771, allocations: 43.95 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.3772, allocations: 35.97 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.3775, allocations: 80.81 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3775, allocations: 0 / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004236/0.3779, allocations: 129.5 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.378, allocations: 10.5 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.378, allocations: 4 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.378, allocations: 0 / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.3782, allocations: 19.97 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.3782, allocations: 240 / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.3784, allocations: 8 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.3784, allocations: 7.984 kB / 1.289 GB, free: 6.664 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.0001435/0.3786, allocations: 113.8 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.3786, allocations: 3.938 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.836e-05/0.3787, allocations: 12.06 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3787, allocations: 0 / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.3787, allocations: 0 / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.3787, allocations: 3.984 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.3789, allocations: 162.8 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3789, allocations: 3.938 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.3792, allocations: 24.23 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.3792, allocations: 7.984 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.3792, allocations: 0 / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.3792, allocations: 3.984 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3792, allocations: 0 / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/0.3799, allocations: 197 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.38, allocations: 3.938 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.38, allocations: 3.938 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.3802, allocations: 20.08 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.778e-05/0.3802, allocations: 0 / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.3802, allocations: 7.984 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.3803, allocations: 75.28 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3803, allocations: 4 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002903/0.3806, allocations: 27.94 kB / 1.289 GB, free: 5.93 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.001171/0.3817, allocations: 0.7606 MB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003796/0.3821, allocations: 91.92 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3821, allocations: 3.938 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.3823, allocations: 43.95 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3826, allocations: 8 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.3849, allocations: 1.353 MB / 1.292 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.3852, allocations: 0.6768 MB / 1.292 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001697/0.3854, allocations: 31.97 kB / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.086e-05/0.3855, allocations: 23.41 kB / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of SimCode: time 9.31e-07/0.3855, allocations: 4 kB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.4126, allocations: 2.63 MB / 1.295 GB, free: 380 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.71, allocations: 0.75 kB / 1.295 GB, free: 380 kB / 0.9825 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: 18.60706274100812]