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.001327/0.001327, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001499/0.001499, allocations: 204.8 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.343/3.343, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_12_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.002144/0.002144, allocations: 67.44 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3375, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002907/0.3404, allocations: 1.307 MB / 1.326 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3417, allocations: 0.5999 MB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.3417, allocations: 0 / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.3417, allocations: 0 / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.971e-05/0.3417, allocations: 7.922 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.3423, allocations: 111.4 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.674e-05/0.3424, allocations: 31.84 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.3425, allocations: 0 / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.385e-05/0.3425, allocations: 8 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.226e-05/0.3426, allocations: 15.98 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3426, allocations: 0 / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.3429, allocations: 147.7 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.3429, allocations: 7.922 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.3429, allocations: 8 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.3432, allocations: 99.97 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3432, allocations: 0 / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3432, allocations: 0 / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.3432, allocations: 0 / 1.327 GB, free: 28 kB / 1.014 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.0005604/0.3438, allocations: 282.1 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3438, allocations: 16.03 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/0.3439, allocations: 34.75 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004525/0.3443, allocations: 28.89 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.3445, allocations: 106.5 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3445, allocations: 384 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.3445, allocations: 4.375 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.3447, allocations: 91.86 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3447, allocations: 3.938 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3447, allocations: 3.938 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3447, allocations: 3.984 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.3449, allocations: 23.98 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.3451, allocations: 136.7 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.3454, allocations: 66.58 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.3455, allocations: 32.86 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.3456, allocations: 0 / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.3456, allocations: 42.55 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3456, allocations: 0 / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.003484/0.3491, allocations: 0.5046 MB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3491, allocations: 51.41 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.3492, allocations: 93.86 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.3492, allocations: 33.69 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.3493, allocations: 80.14 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.3493, allocations: 23.8 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.3494, allocations: 29.62 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3495, allocations: 314.8 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.3497, allocations: 36.09 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3498, allocations: 39.97 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.3501, allocations: 80.75 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3501, allocations: 4 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003747/0.3505, allocations: 125.6 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3505, allocations: 4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.3505, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.3505, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.3508, allocations: 23.97 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3508, allocations: 4 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.3509, allocations: 7.984 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.3509, allocations: 4 kB / 1.33 GB, free: 13.5 MB / 1.029 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.0001215/0.3511, allocations: 118.3 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3511, allocations: 7.938 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.996e-05/0.3511, allocations: 12.06 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3512, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3512, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3512, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.3513, allocations: 154.7 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3513, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.3516, allocations: 27.91 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3516, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.3516, allocations: 11.98 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3516, allocations: 4 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3516, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/0.3522, allocations: 193 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.3522, allocations: 7.969 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.3522, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.3524, allocations: 16.05 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.3524, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.3524, allocations: 7.984 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.382e-05/0.3525, allocations: 79.28 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3525, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002506/0.3527, allocations: 27.94 kB / 1.33 GB, free: 12.76 MB / 1.029 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.001031/0.3537, allocations: 0.7606 MB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003645/0.3541, allocations: 87.98 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3541, allocations: 0 / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.3543, allocations: 47.95 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.3545, allocations: 5.219 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.3567, allocations: 1.358 MB / 1.332 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.473e-05/0.3568, allocations: 63.34 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.357, allocations: 31.94 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.3571, allocations: 19.42 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.3571, allocations: 0 / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04361/0.4007, allocations: 3.066 MB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.12, allocations: 0 / 1.336 GB, free: 7.387 MB / 1.029 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/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] "Error: Could not read variable y in file Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv. Warning: Get data of variable y from file Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.096208991017193]