Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.0008273/0.0008273, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008292/0.0008292, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8793/0.8793, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.637/1.637, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 4 kB / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.802e-05, allocations: 6.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001693/0.001721, allocations: 1.309 MB / 0.953 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006715/0.002393, allocations: 0.5302 MB / 0.9535 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.002412, allocations: 0 / 0.9535 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.00243, allocations: 0 / 0.9535 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.642e-05/0.002477, allocations: 11.92 kB / 0.9535 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.002827, allocations: 103.4 kB / 0.9536 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.967e-05/0.002897, allocations: 19.86 kB / 0.9537 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.002937, allocations: 3.984 kB / 0.9537 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.936e-05/0.002987, allocations: 8 kB / 0.9537 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.00303, allocations: 7.938 kB / 0.9537 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.003043, allocations: 0 / 0.9537 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.003238, allocations: 143.7 kB / 0.9538 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.003252, allocations: 0 / 0.9538 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.00327, allocations: 7.938 kB / 0.9538 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.003435, allocations: 99.75 kB / 0.9539 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.003438, allocations: 4 kB / 0.9539 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003439, allocations: 4 kB / 0.9539 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.003446, allocations: 7.922 kB / 0.9539 GB, free: 0.7344 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003088/0.003754, allocations: 266.2 kB / 0.9542 GB, free: 452 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.003789, allocations: 8.031 kB / 0.9542 GB, free: 444 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002625/0.004052, allocations: 28.91 kB / 0.9542 GB, free: 416 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.383e-05/0.004136, allocations: 121.7 kB / 0.9543 GB, free: 268 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.004146, allocations: 4.375 kB / 0.9543 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.004156, allocations: 4.375 kB / 0.9543 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.004269, allocations: 46.17 kB / 0.9544 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.004275, allocations: 192 / 0.9544 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.004285, allocations: 384 / 0.9544 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.004289, allocations: 384 / 0.9544 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.203e-05/0.004361, allocations: 27.91 kB / 0.9544 GB, free: 180 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.004479, allocations: 105.3 kB / 0.9545 GB, free: 44 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.004587, allocations: 46.53 kB / 0.9546 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.004625, allocations: 16.91 kB / 0.9546 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.004643, allocations: 0 / 0.9546 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.004662, allocations: 34.56 kB / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.004663, allocations: 0 / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0001982/0.004861, allocations: 73.66 kB / 0.9547 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.004891, allocations: 55.41 kB / 0.9547 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.39e-05/0.004945, allocations: 105.7 kB / 0.9548 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.004956, allocations: 25.7 kB / 0.9549 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/0.004976, allocations: 80.14 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.005, allocations: 3.953 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.005029, allocations: 21.7 kB / 0.955 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.0051, allocations: 310.8 kB / 0.9552 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-05/0.005141, allocations: 20.11 kB / 0.9553 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.005169, allocations: 8 kB / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.005236, allocations: 32.83 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.005238, allocations: 0 / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.19e-05/0.00533, allocations: 57.73 kB / 0.9554 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.005342, allocations: 8 kB / 0.9554 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.005346, allocations: 0 / 0.9554 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.005358, allocations: 3.938 kB / 0.9554 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.005423, allocations: 7.984 kB / 0.9554 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.005428, allocations: 0 / 0.9554 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.005454, allocations: 7.938 kB / 0.9554 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.005462, allocations: 0 / 0.9554 GB, free: 15.06 MB / 0.9167 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 (2): * Single equations (assignments): 2 * 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.597e-05/0.005518, allocations: 117.8 kB / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-06/0.005525, allocations: 4.031 kB / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.005561, allocations: 7.25 kB / 0.9555 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005562, allocations: 0 / 0.9555 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.005566, allocations: 3.938 kB / 0.9555 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.00557, allocations: 7.938 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.133e-05/0.005632, allocations: 113.3 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005633, allocations: 0 / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.005664, allocations: 7.984 kB / 0.9556 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005665, allocations: 0 / 0.9556 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.005673, allocations: 4 kB / 0.9556 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.005675, allocations: 0 / 0.9556 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.005676, allocations: 0 / 0.9556 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.005788, allocations: 88.98 kB / 0.9557 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.005826, allocations: 11.92 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.005837, allocations: 0 / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.174e-05/0.005859, allocations: 4 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.005872, allocations: 3.984 kB / 0.9557 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.005876, allocations: 4.219 kB / 0.9558 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.36e-05/0.005899, allocations: 83.27 kB / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005899, allocations: 0 / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001375/0.006037, allocations: 19.94 kB / 0.9558 GB, free: 14.53 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001438/0.00618, allocations: 107.2 kB / 0.956 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.006292, allocations: 27.97 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006294, allocations: 4.062 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.792e-05/0.006322, allocations: 15.92 kB / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.006504, allocations: 8 kB / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.006778, allocations: 138.5 kB / 0.9561 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.843e-05/0.006817, allocations: 63.34 kB / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.006846, allocations: 16.55 kB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.006846, allocations: 0 / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of Templates: time 0.001884/0.00873, allocations: 0.8116 MB / 0.957 GB, free: 13.28 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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: 6.248616484925151]