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.001572/0.001572, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001791/0.001791, allocations: 192.4 kB / 22.17 MB, free: 5.656 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.472/1.472, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] 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.858/2.858, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 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: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 67.89 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7854/0.7874, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003033/0.7904, allocations: 1.298 MB / 1.275 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.7918, allocations: 0.6558 MB / 1.276 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.7918, allocations: 0 / 1.276 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.7918, allocations: 0 / 1.276 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.901e-05/0.7919, allocations: 15.91 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005047/0.7924, allocations: 107.5 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.072e-05/0.7925, allocations: 27.92 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.7926, allocations: 3.984 kB / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.341e-05/0.7926, allocations: 11.94 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.658e-05/0.7927, allocations: 11.98 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.7927, allocations: 0 / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.793, allocations: 143.7 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.793, allocations: 7.938 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.793, allocations: 7.984 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.7932, allocations: 106.4 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.7932, allocations: 0 / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7932, allocations: 4 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.7932, allocations: 4 kB / 1.276 GB, free: 2.168 MB / 0.9669 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.0005454/0.7938, allocations: 347.3 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.7938, allocations: 8.031 kB / 1.277 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004216/0.7942, allocations: 28.91 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.7944, allocations: 168.3 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.7944, allocations: 8.359 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.7944, allocations: 8.312 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.7946, allocations: 50.22 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.7946, allocations: 8.125 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.7946, allocations: 7.875 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.7946, allocations: 0 / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.7948, allocations: 35.97 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.795, allocations: 157.6 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.7953, allocations: 66.52 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.7954, allocations: 32.94 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.7954, allocations: 0 / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.7955, allocations: 34.55 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.7955, allocations: 0 / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.003446/0.7989, allocations: 0.5721 MB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.799, allocations: 51.41 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/0.799, allocations: 97.86 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.7991, allocations: 25.7 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.7991, allocations: 84.12 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.7992, allocations: 27.78 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.7992, allocations: 21.7 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.7994, allocations: 323 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.7995, allocations: 35.97 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.7997, allocations: 39.91 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.8, allocations: 80.81 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.8, allocations: 4 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003683/0.8003, allocations: 121.7 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.8004, allocations: 11.94 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.8004, allocations: 0 / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.8004, allocations: 4.328 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.8006, allocations: 23.97 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.8006, allocations: 3.938 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.8008, allocations: 7.984 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.8008, allocations: 0 / 1.279 GB, free: 15.44 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 9.74e-05/0.8009, allocations: 117.8 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.8009, allocations: 11.91 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.515e-05/0.801, allocations: 15.97 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.801, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.801, allocations: 64 / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.801, allocations: 4 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.8012, allocations: 191.7 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8012, allocations: 4 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.8014, allocations: 23.97 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.8014, allocations: 3.938 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.8014, allocations: 3.984 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8014, allocations: 0 / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8014, allocations: 4 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005936/0.802, allocations: 189 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.8021, allocations: 85 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.8021, allocations: 0 / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.8023, allocations: 12.02 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.8023, allocations: 16.05 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.8023, allocations: 0 / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.183e-05/0.8024, allocations: 79.28 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8024, allocations: 0 / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002569/0.8026, allocations: 31.92 kB / 1.28 GB, free: 14.57 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.0002409/0.8029, allocations: 127.6 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.8033, allocations: 91.95 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8033, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.8034, allocations: 43.95 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.8037, allocations: 13.25 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006993/0.8044, allocations: 169.9 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.8047, allocations: 0.6807 MB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.8049, allocations: 35.91 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.8049, allocations: 15.42 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.8049, allocations: 0 / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of Templates: time 0.004899/0.8098, allocations: 1.545 MB / 1.282 GB, free: 11.84 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 400] 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_2/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: 8.861635970883071]