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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 113.1 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.507/2.507, allocations: 476.7 MB / 0.7628 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 79.88 kB / 1.107 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7687/0.7705, allocations: 168.7 MB / 1.271 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001862/0.7724, allocations: 1.305 MB / 1.273 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00084/0.7732, allocations: 0.6484 MB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.49e-05/0.7732, allocations: 0.6562 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.7732, allocations: 0.5625 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.689e-05/0.7733, allocations: 6 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.7736, allocations: 116 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.147e-05/0.7737, allocations: 27.67 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.385e-05/0.7737, allocations: 6.016 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.017e-05/0.7738, allocations: 6.828 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.7738, allocations: 15.7 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.7738, allocations: 1.031 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.7741, allocations: 144.7 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.7741, allocations: 10.03 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.7741, allocations: 12.66 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.7743, allocations: 94.73 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.7743, allocations: 0 / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7743, allocations: 0.8438 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.7743, allocations: 4 kB / 1.274 GB, free: 6.184 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.0003439/0.7747, allocations: 350.1 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.7747, allocations: 13.47 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.281e-05/0.7747, allocations: 34.12 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003654/0.7751, allocations: 32.86 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.788e-05/0.7751, allocations: 174.5 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.7751, allocations: 1.531 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.7752, allocations: 3.125 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.7753, allocations: 55.19 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.7753, allocations: 4.938 kB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.7753, allocations: 4 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.7753, allocations: 0.9688 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.7755, allocations: 29.12 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.7756, allocations: 160 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.7759, allocations: 67.77 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.665e-05/0.7759, allocations: 28.41 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.776, allocations: 0.8438 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.176e-05/0.776, allocations: 37.91 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.776, allocations: 0 / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.00302/0.779, allocations: 0.5797 MB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.779, allocations: 52.31 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.094e-05/0.779, allocations: 94.19 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.7791, allocations: 26.3 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.189e-05/0.7791, allocations: 80.95 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.7791, allocations: 24.45 kB / 1.276 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.7792, allocations: 30.61 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.317e-05/0.7792, allocations: 317 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.7793, allocations: 37.28 kB / 1.276 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.7794, allocations: 39.69 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.7797, allocations: 89.06 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.7797, allocations: 0 / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000325/0.78, allocations: 127.6 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.78, allocations: 5 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.78, allocations: 5.312 kB / 1.276 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.7801, allocations: 4.734 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.7803, allocations: 26.28 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.7803, allocations: 0.9062 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.7804, allocations: 15.23 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.7804, allocations: 3.609 kB / 1.276 GB, free: 4.094 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 5.003e-05/0.7805, allocations: 109.8 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.7805, allocations: 10.03 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.7805, allocations: 9.375 kB / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7805, allocations: 0.875 kB / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.7806, allocations: 4.719 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7806, allocations: 3.047 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.75e-05/0.7807, allocations: 188.6 kB / 1.276 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7807, allocations: 1.031 kB / 1.276 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.7809, allocations: 27.02 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7809, allocations: 0.875 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.7809, allocations: 3.109 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7809, allocations: 3.375 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7809, allocations: 1.062 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.7814, allocations: 193.3 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.7814, allocations: 83.36 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.7814, allocations: 0 / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.7816, allocations: 18.67 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.7816, allocations: 3.859 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.7816, allocations: 5.359 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.542e-05/0.7816, allocations: 77.19 kB / 1.277 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7816, allocations: 0 / 1.277 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002234/0.7818, allocations: 37.56 kB / 1.277 GB, free: 3.438 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.0006751/0.7825, allocations: 0.7562 MB / 1.278 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003225/0.7828, allocations: 87.02 kB / 1.278 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.7828, allocations: 0 / 1.278 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.783, allocations: 47.03 kB / 1.278 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.7832, allocations: 7.656 kB / 1.278 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.7848, allocations: 1.357 MB / 1.279 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.785, allocations: 0.6834 MB / 1.28 GB, free: 16.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001385/0.7852, allocations: 32.75 kB / 1.28 GB, free: 16.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/0.7852, allocations: 23.05 kB / 1.28 GB, free: 16.83 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.7852, allocations: 0 / 1.28 GB, free: 16.83 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.8112, allocations: 2.464 MB / 1.282 GB, free: 16.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.134/7.946, allocations: 11.92 kB / 1.282 GB, free: 16.43 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.303217238004436]