Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.00171/0.00171, allocations: 113.4 kB / 17.08 MB, free: 5.789 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.002032/0.002032, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.423/1.423, allocations: 222.9 MB / 245.7 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.973/2.973, allocations: 489.3 MB / 0.7687 GB, free: 3.727 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.89 kB / 1.103 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.916/0.918, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002215/0.9203, allocations: 1.299 MB / 1.264 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009131/0.9212, allocations: 0.5694 MB / 1.264 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.97e-05/0.9212, allocations: 0 / 1.264 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.9213, allocations: 1.547 kB / 1.264 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.409e-05/0.9213, allocations: 10.39 kB / 1.264 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.9217, allocations: 89.33 kB / 1.264 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.839e-05/0.9218, allocations: 22.89 kB / 1.265 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.9218, allocations: 6.938 kB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.504e-05/0.9218, allocations: 4.5 kB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.28e-05/0.9219, allocations: 8.078 kB / 1.265 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.9219, allocations: 5.016 kB / 1.265 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.9222, allocations: 141.1 kB / 1.265 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.767e-06/0.9223, allocations: 1.562 kB / 1.265 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.9223, allocations: 12.5 kB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.9225, allocations: 91.47 kB / 1.265 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.9225, allocations: 0 / 1.265 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.9225, allocations: 0.7812 kB / 1.265 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.9225, allocations: 3.938 kB / 1.265 GB, free: 6.555 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003414/0.9229, allocations: 353.2 kB / 1.265 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.9229, allocations: 9.531 kB / 1.265 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004312/0.9234, allocations: 30.08 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.122e-05/0.9235, allocations: 163.1 kB / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.9235, allocations: 1.156 kB / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.9235, allocations: 1.672 kB / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.9237, allocations: 52.33 kB / 1.265 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.9237, allocations: 4.125 kB / 1.265 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.9237, allocations: 4.734 kB / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.9237, allocations: 0.75 kB / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.9239, allocations: 22.17 kB / 1.265 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.924, allocations: 158.3 kB / 1.266 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.9242, allocations: 42.86 kB / 1.266 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.328e-05/0.9243, allocations: 19.42 kB / 1.266 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.9243, allocations: 0.8125 kB / 1.266 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.9243, allocations: 31.92 kB / 1.266 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.9243, allocations: 4 kB / 1.266 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003134/0.9246, allocations: 76.67 kB / 1.266 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.9247, allocations: 52.22 kB / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.804e-05/0.9247, allocations: 99.78 kB / 1.266 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.9247, allocations: 25.7 kB / 1.266 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.818e-05/0.9248, allocations: 85.75 kB / 1.266 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.9248, allocations: 4.984 kB / 1.266 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.9248, allocations: 15.44 kB / 1.266 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.9249, allocations: 316.6 kB / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-05/0.925, allocations: 9.594 kB / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.566e-05/0.925, allocations: 13.28 kB / 1.266 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.9252, allocations: 36.05 kB / 1.266 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9252, allocations: 0 / 1.266 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001739/0.9254, allocations: 60.56 kB / 1.266 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.9254, allocations: 5.094 kB / 1.266 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.9254, allocations: 4.688 kB / 1.266 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.9254, allocations: 0.9375 kB / 1.266 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.9255, allocations: 12.19 kB / 1.266 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.9255, allocations: 0 / 1.266 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.186e-05/0.9256, allocations: 11.62 kB / 1.266 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.9256, allocations: 2.047 kB / 1.266 GB, free: 4.906 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 (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 4.652e-05/0.9257, allocations: 111.5 kB / 1.267 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.9257, allocations: 9.438 kB / 1.267 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.9257, allocations: 21.22 kB / 1.267 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.9258, allocations: 0 / 1.267 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9258, allocations: 0.75 kB / 1.267 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.9258, allocations: 0.6094 kB / 1.267 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.692e-05/0.9259, allocations: 154.3 kB / 1.267 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9259, allocations: 4.75 kB / 1.267 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-05/0.9259, allocations: 8.266 kB / 1.267 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.926, allocations: 0.5156 kB / 1.267 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.926, allocations: 6.281 kB / 1.267 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.926, allocations: 0 / 1.267 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.926, allocations: 5.969 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.9262, allocations: 80.58 kB / 1.267 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.9262, allocations: 81.25 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.9262, allocations: 4.875 kB / 1.267 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-05/0.9263, allocations: 3.156 kB / 1.267 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.9263, allocations: 5.703 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.9263, allocations: 2.188 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.321e-05/0.9264, allocations: 78.62 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9264, allocations: 1.062 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002136/0.9266, allocations: 14.09 kB / 1.267 GB, free: 4.316 MB / 0.9981 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.0001462/0.9267, allocations: 116 kB / 1.267 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.927, allocations: 31.33 kB / 1.267 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.927, allocations: 0 / 1.267 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.301e-05/0.9271, allocations: 13.62 kB / 1.267 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.9273, allocations: 14.02 kB / 1.267 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.9276, allocations: 138.9 kB / 1.267 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.891e-05/0.9277, allocations: 0.6787 MB / 1.268 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.9278, allocations: 13.19 kB / 1.268 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/0.9278, allocations: 0 / 1.268 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of Templates: time 0.002818/0.9306, allocations: 0.7876 MB / 1.269 GB, free: 3.305 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.287954428931698]