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.001776/0.001776, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00222/0.00222, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.805 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.85/2.85, allocations: 476 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",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.002129/0.002129, allocations: 68.94 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2994, allocations: 170 MB / 1.283 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00291/0.3024, allocations: 1.309 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.3037, allocations: 0.5901 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.3037, allocations: 0 / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.3038, allocations: 3.938 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.017e-05/0.3038, allocations: 3.984 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006723/0.3045, allocations: 111.5 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.603e-05/0.3046, allocations: 31.86 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.944e-05/0.3046, allocations: 7.938 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.9e-05/0.3047, allocations: 11.92 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.596e-05/0.3047, allocations: 11.98 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3048, allocations: 4 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.3051, allocations: 135.8 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.3051, allocations: 4 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.3051, allocations: 11.92 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.3054, allocations: 101.2 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3054, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3054, allocations: 4 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.3054, allocations: 0 / 1.285 GB, free: 10.18 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.0005481/0.306, allocations: 290 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.306, allocations: 8.031 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.306, allocations: 30.75 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004508/0.3065, allocations: 36.89 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.3066, allocations: 114.5 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3066, allocations: 384 / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.3067, allocations: 384 / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.3069, allocations: 79.92 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3069, allocations: 3.938 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3069, allocations: 0 / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3069, allocations: 4 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.307, allocations: 31.91 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.3072, allocations: 140.6 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.3075, allocations: 66.58 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.69e-05/0.3076, allocations: 24.94 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.3077, allocations: 0 / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.3077, allocations: 30.56 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 2.995e-06/0.3077, allocations: 4 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.003458/0.3112, allocations: 0.5048 MB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.3112, allocations: 59.28 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.061e-05/0.3113, allocations: 93.86 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.3113, allocations: 25.7 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.3114, allocations: 84.14 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.56e-05/0.3114, allocations: 31.89 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.3115, allocations: 25.7 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3117, allocations: 318.8 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.3118, allocations: 35.97 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.3119, allocations: 35.95 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.3122, allocations: 84.81 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3122, allocations: 0 / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003653/0.3126, allocations: 125.5 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3126, allocations: 4 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3126, allocations: 4 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3126, allocations: 7.984 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.3128, allocations: 19.97 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3129, allocations: 0 / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.313, allocations: 12 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.313, allocations: 3.984 kB / 1.287 GB, free: 7.641 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.0001001/0.3131, allocations: 109.8 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.3131, allocations: 3.938 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.744e-05/0.3132, allocations: 20.05 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3132, allocations: 0 / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3132, allocations: 0 / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3132, allocations: 0 / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.3134, allocations: 150.8 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3134, allocations: 0 / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.3136, allocations: 35.84 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3136, allocations: 0 / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3136, allocations: 8.047 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3136, allocations: 0 / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3136, allocations: 0 / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/0.3142, allocations: 193 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.3143, allocations: 7.922 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.3143, allocations: 7.969 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.3145, allocations: 8 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.3145, allocations: 7.984 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.3145, allocations: 3.984 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.763e-05/0.3145, allocations: 83.22 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3145, allocations: 160 / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002648/0.3148, allocations: 35.94 kB / 1.288 GB, free: 6.906 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.001044/0.3158, allocations: 0.7527 MB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003854/0.3162, allocations: 91.92 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3162, allocations: 0 / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.3164, allocations: 35.97 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.3167, allocations: 11.98 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.3191, allocations: 1.356 MB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.888e-05/0.3191, allocations: 63.34 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001805/0.3193, allocations: 32.03 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.3194, allocations: 19.42 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3194, allocations: 0 / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03414/0.3535, allocations: 3.069 MB / 1.293 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.83, allocations: 1.422 kB / 1.293 GB, free: 1.547 MB / 0.9825 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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] "Error: Could not read variable y in file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv. Warning: Get data of variable y from file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.722555777989328]