Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001392/0.001392, allocations: 97.31 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.001534/0.001534, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.353/3.353, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_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.002015/0.002015, allocations: 63.5 kB / 1.171 GB, free: 19.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.4, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.004465/0.4044, allocations: 1.306 MB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.4059, allocations: 0.6037 MB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.4059, allocations: 0 / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.4059, allocations: 0 / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.406, allocations: 3.938 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007081/0.4067, allocations: 107.5 kB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.631e-05/0.4068, allocations: 27.92 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.876e-05/0.4069, allocations: 4 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.848e-05/0.4069, allocations: 11.92 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.407, allocations: 19.97 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.407, allocations: 0 / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.4074, allocations: 139.8 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/0.4075, allocations: 3.984 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.4075, allocations: 15.94 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.4078, allocations: 95.98 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4078, allocations: 0 / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4078, allocations: 0 / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.4078, allocations: 4 kB / 1.348 GB, free: 13.59 MB / 1.045 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.0006427/0.4085, allocations: 282.1 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.4085, allocations: 12.03 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.13e-05/0.4086, allocations: 192 / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.4086, allocations: 34.73 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005198/0.4091, allocations: 28.91 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.4092, allocations: 114.5 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.4092, allocations: 4.359 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.4093, allocations: 4.375 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.4095, allocations: 83.67 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.4095, allocations: 0 / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.4095, allocations: 0 / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4095, allocations: 0 / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.4097, allocations: 39.91 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.4099, allocations: 140.7 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.4103, allocations: 70.47 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.673e-05/0.4104, allocations: 20.94 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.4104, allocations: 4 kB / 1.348 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.4104, allocations: 38.44 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.4104, allocations: 4 kB / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.003722/0.4141, allocations: 0.493 MB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.4142, allocations: 55.39 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.4143, allocations: 93.86 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.4143, allocations: 29.64 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.4144, allocations: 80.27 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.4144, allocations: 27.8 kB / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.395e-05/0.4145, allocations: 29.69 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4146, allocations: 314.8 kB / 1.349 GB, free: 11.39 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.4148, allocations: 31.97 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.4149, allocations: 43.94 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.4152, allocations: 84.81 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4152, allocations: 0 / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000375/0.4156, allocations: 121.6 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4156, allocations: 4 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4156, allocations: 7.984 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4157, allocations: 0 / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.4159, allocations: 27.91 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.4159, allocations: 0 / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.4161, allocations: 8 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.4161, allocations: 8.047 kB / 1.35 GB, free: 11.05 MB / 1.045 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.0001196/0.4162, allocations: 105.8 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.4162, allocations: 15.89 kB / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.4163, allocations: 16 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.4163, allocations: 4 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4163, allocations: 0 / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4163, allocations: 0 / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.4165, allocations: 158.4 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4165, allocations: 3.938 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.4168, allocations: 23.97 kB / 1.35 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4168, allocations: 0 / 1.35 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.4168, allocations: 4 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.345e-05/0.4168, allocations: 3.984 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4168, allocations: 3.938 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/0.4174, allocations: 193 kB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.4174, allocations: 11.89 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.4174, allocations: 0 / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.4176, allocations: 16.02 kB / 1.35 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.4177, allocations: 0 / 1.35 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.4177, allocations: 7.984 kB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.648e-05/0.4177, allocations: 79.28 kB / 1.35 GB, free: 10.34 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4177, allocations: 4.156 kB / 1.35 GB, free: 10.33 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002626/0.418, allocations: 31.92 kB / 1.35 GB, free: 10.3 MB / 1.045 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.001039/0.419, allocations: 0.7529 MB / 1.351 GB, free: 9.52 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003566/0.4194, allocations: 83.92 kB / 1.351 GB, free: 9.438 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4194, allocations: 0 / 1.351 GB, free: 9.438 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.4195, allocations: 47.89 kB / 1.351 GB, free: 9.391 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.4199, allocations: 22.06 kB / 1.351 GB, free: 9.371 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.4222, allocations: 1.352 MB / 1.353 GB, free: 7.938 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.279e-05/0.4222, allocations: 63.34 kB / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001719/0.4224, allocations: 28 kB / 1.353 GB, free: 7.828 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.078e-05/0.4225, allocations: 23.41 kB / 1.353 GB, free: 7.805 MB / 1.045 GB Notification: Performance of SimCode: time 7.52e-07/0.4225, allocations: 0 / 1.353 GB, free: 7.805 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.4478, allocations: 2.736 MB / 1.355 GB, free: 5.266 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.95, allocations: 7.062 kB / 1.355 GB, free: 5.262 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.041652380954474]