Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.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.001136/0.001136, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001686/0.002821, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.001124/0.001124, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001473/0.002597, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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.9846/0.9846, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09422/1.079, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.848/1.848, allocations: 378.3 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5174/2.365, allocations: 123.3 MB / 0.7283 GB, free: 5.727 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.7296 GB, free: 4.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.08e-05, allocations: 5.125 kB / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001987/0.002008, allocations: 1.517 MB / 0.7311 GB, free: 2.922 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009444/0.002952, allocations: 0.5996 MB / 0.7317 GB, free: 2.328 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.002977, allocations: 4.766 kB / 0.7317 GB, free: 2.324 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.002999, allocations: 4.75 kB / 0.7317 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.876e-05/0.003027, allocations: 2.406 kB / 0.7317 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.003303, allocations: 99.95 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.003368, allocations: 25.95 kB / 0.7318 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.102e-05/0.003439, allocations: 8 kB / 0.7319 GB, free: 2.207 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.611e-05/0.003505, allocations: 16.61 kB / 0.7319 GB, free: 2.191 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.261e-05/0.003548, allocations: 7.984 kB / 0.7319 GB, free: 2.184 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.00356, allocations: 4.781 kB / 0.7319 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.003783, allocations: 143.7 kB / 0.732 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.003798, allocations: 4.625 kB / 0.732 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.468e-05/0.003813, allocations: 4.906 kB / 0.732 GB, free: 2.031 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.003991, allocations: 103.7 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.004004, allocations: 0 / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.12e-07/0.004004, allocations: 0.8125 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.004014, allocations: 0 / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003456/0.004359, allocations: 277.7 kB / 0.7324 GB, free: 1.633 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.004389, allocations: 8.031 kB / 0.7324 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.004679, allocations: 108 kB / 0.7325 GB, free: 1.504 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.062e-05/0.004759, allocations: 105.8 kB / 0.7326 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.004769, allocations: 8.312 kB / 0.7326 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.004781, allocations: 384 / 0.7326 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.004908, allocations: 68.02 kB / 0.7327 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.004914, allocations: 0.6875 kB / 0.7327 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-06/0.004922, allocations: 384 / 0.7327 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.004927, allocations: 1.938 kB / 0.7327 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.008e-05/0.004957, allocations: 19.86 kB / 0.7327 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.005194, allocations: 164.2 kB / 0.7329 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.044e-05/0.005255, allocations: 32.2 kB / 0.7329 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.005272, allocations: 9.578 kB / 0.7329 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.005287, allocations: 0 / 0.7329 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.005306, allocations: 35.88 kB / 0.7329 GB, free: 1.004 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.005307, allocations: 0 / 0.7329 GB, free: 1.004 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.00012/0.005427, allocations: 51.2 kB / 0.733 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.005453, allocations: 55.34 kB / 0.733 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.051e-05/0.005503, allocations: 106.7 kB / 0.7331 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.005515, allocations: 25.7 kB / 0.7332 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.705e-05/0.005542, allocations: 93.42 kB / 0.7332 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.00556, allocations: 7.938 kB / 0.7333 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.005588, allocations: 13.72 kB / 0.7333 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.00566, allocations: 311.5 kB / 0.7336 GB, free: 308 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.005677, allocations: 7.984 kB / 0.7336 GB, free: 300 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.085e-05/0.005688, allocations: 5.125 kB / 0.7336 GB, free: 296 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.418e-05/0.005722, allocations: 25.75 kB / 0.7336 GB, free: 268 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005723, allocations: 0 / 0.7336 GB, free: 268 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.901e-05/0.005782, allocations: 42.94 kB / 0.7336 GB, free: 220 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.005793, allocations: 4 kB / 0.7336 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.005799, allocations: 4.844 kB / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.005808, allocations: 0 / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.752e-05/0.005886, allocations: 16.45 kB / 0.7337 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.005891, allocations: 9 kB / 0.7337 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.005916, allocations: 4 kB / 0.7337 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.005921, allocations: 0 / 0.7337 GB, free: 184 kB / 0.698 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.117e-05/0.005972, allocations: 114.8 kB / 0.7338 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.005986, allocations: 1.219 kB / 0.7338 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.006016, allocations: 7.297 kB / 0.7338 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006017, allocations: 4.438 kB / 0.7338 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.00602, allocations: 8.594 kB / 0.7338 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.006023, allocations: 3.938 kB / 0.7338 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.724e-05/0.00612, allocations: 70.62 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006122, allocations: 0 / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.006165, allocations: 12.73 kB / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-06/0.006169, allocations: 0 / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.006171, allocations: 1.969 kB / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.006179, allocations: 7.984 kB / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.00618, allocations: 0 / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.006182, allocations: 3.938 kB / 0.7339 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.618e-05/0.006278, allocations: 136.9 kB / 0.734 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.006288, allocations: 0 / 0.734 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.911e-05/0.006327, allocations: 4 kB / 0.734 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.006352, allocations: 9.234 kB / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.006355, allocations: 0 / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.172e-05/0.006367, allocations: 8.797 kB / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006367, allocations: 7.25 kB / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001355/0.006503, allocations: 15.88 kB / 0.7341 GB, free: 15.73 MB / 0.7136 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.000135/0.006638, allocations: 96.33 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.757e-05/0.006705, allocations: 20.84 kB / 0.7342 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.00671, allocations: 4 kB / 0.7342 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.587e-05/0.006736, allocations: 19.88 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.00689, allocations: 38.47 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/0.007499, allocations: 132.6 kB / 0.7344 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.316e-05/0.007532, allocations: 52.02 kB / 0.7344 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.54e-05/0.007577, allocations: 14.62 kB / 0.7344 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.007643, allocations: 55.36 kB / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/0.007643, allocations: 0 / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.00253/0.01017, allocations: 0.9741 MB / 0.7354 GB, free: 14.32 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.837247636169195]