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.001713/0.001713, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.00206/0.00206, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.532/1.532, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.921/2.921, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 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.00252/0.00252, allocations: 75.89 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149/1.151, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003644/1.155, allocations: 1.306 MB / 1.28 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001484/1.156, allocations: 0.6476 MB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/1.156, allocations: 0 / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/1.156, allocations: 1 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.366e-05/1.157, allocations: 9.859 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009926/1.158, allocations: 112.5 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/1.158, allocations: 22.34 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.065e-05/1.158, allocations: 7.422 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/1.158, allocations: 11.55 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/1.158, allocations: 15.66 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/1.158, allocations: 1.219 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005248/1.158, allocations: 145.2 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/1.158, allocations: 10.53 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/1.159, allocations: 14.66 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003892/1.159, allocations: 99.39 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.159, allocations: 1.125 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.184e-06/1.159, allocations: 0 / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.457e-06/1.159, allocations: 0 / 1.281 GB, free: 10.24 MB / 0.9981 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.0009677/1.16, allocations: 366.5 kB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/1.16, allocations: 9.438 kB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.614e-05/1.16, allocations: 1 kB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/1.16, allocations: 41.17 kB / 1.282 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005995/1.161, allocations: 33.66 kB / 1.282 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/1.161, allocations: 163.1 kB / 1.282 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/1.161, allocations: 1.469 kB / 1.282 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/1.161, allocations: 6 kB / 1.282 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/1.161, allocations: 62.38 kB / 1.282 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.161, allocations: 0.5312 kB / 1.282 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/1.161, allocations: 0.5938 kB / 1.282 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.161, allocations: 0.5 kB / 1.282 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/1.161, allocations: 30.55 kB / 1.282 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/1.162, allocations: 170 kB / 1.282 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/1.162, allocations: 70.67 kB / 1.282 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/1.162, allocations: 23.98 kB / 1.282 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/1.162, allocations: 1.297 kB / 1.282 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/1.162, allocations: 40.27 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 2.014e-06/1.162, allocations: 4 kB / 1.282 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.004206/1.167, allocations: 0.5723 MB / 1.283 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/1.167, allocations: 56.41 kB / 1.283 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/1.167, allocations: 94.86 kB / 1.283 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/1.167, allocations: 33.83 kB / 1.283 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/1.167, allocations: 81.94 kB / 1.283 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/1.167, allocations: 20.44 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.291e-05/1.167, allocations: 25.33 kB / 1.283 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.167, allocations: 313 kB / 1.283 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/1.167, allocations: 35.17 kB / 1.283 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/1.167, allocations: 46.89 kB / 1.284 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/1.168, allocations: 78.09 kB / 1.284 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/1.168, allocations: 0 / 1.284 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004198/1.168, allocations: 130.8 kB / 1.284 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/1.168, allocations: 4.594 kB / 1.284 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/1.168, allocations: 4.453 kB / 1.284 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.168, allocations: 1.156 kB / 1.284 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/1.168, allocations: 21.75 kB / 1.284 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/1.168, allocations: 1.906 kB / 1.284 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/1.169, allocations: 9.781 kB / 1.284 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/1.169, allocations: 4.594 kB / 1.284 GB, free: 8.152 MB / 0.9981 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.0001177/1.169, allocations: 112.8 kB / 1.284 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/1.169, allocations: 6.562 kB / 1.284 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.749e-05/1.169, allocations: 18.09 kB / 1.284 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.169, allocations: 1.156 kB / 1.284 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.169, allocations: 1.156 kB / 1.284 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/1.169, allocations: 4.781 kB / 1.284 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/1.169, allocations: 177.9 kB / 1.284 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.169, allocations: 4.547 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/1.169, allocations: 25.61 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.169, allocations: 1.969 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/1.169, allocations: 3.531 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/1.169, allocations: 8.5 kB / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.169, allocations: 1.438 kB / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/1.17, allocations: 196.3 kB / 1.284 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/1.17, allocations: 82.75 kB / 1.284 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/1.17, allocations: 0.6562 kB / 1.284 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/1.17, allocations: 9.828 kB / 1.284 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/1.17, allocations: 3.406 kB / 1.284 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/1.17, allocations: 5.125 kB / 1.284 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001462/1.17, allocations: 82.03 kB / 1.284 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.17, allocations: 0 / 1.284 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002911/1.171, allocations: 37.52 kB / 1.285 GB, free: 7.488 MB / 0.9981 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.001198/1.172, allocations: 0.7644 MB / 1.285 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003884/1.172, allocations: 79.05 kB / 1.285 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.172, allocations: 3.938 kB / 1.285 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/1.172, allocations: 53.98 kB / 1.285 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/1.173, allocations: 9.125 kB / 1.285 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/1.175, allocations: 1.359 MB / 1.287 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/1.176, allocations: 0.6788 MB / 1.287 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001608/1.176, allocations: 24.09 kB / 1.287 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.989e-05/1.176, allocations: 18.19 kB / 1.287 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/1.176, allocations: 0 / 1.287 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/1.199, allocations: 2.557 MB / 1.29 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.49/9.689, allocations: 19.47 kB / 1.29 GB, free: 4.477 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.394563768000808]