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.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.001942/0.001942, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001587/0.001587, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.484/1.484, allocations: 177.1 MB / 203.1 MB, free: 5.273 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.369/3.369, allocations: 429.6 MB / 0.673 GB, free: 3.926 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.523e-06/1.523e-06, allocations: 0 / 0.8776 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.544e-05, allocations: 5.672 kB / 0.8776 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002619/0.002644, allocations: 1.308 MB / 0.8789 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.003744, allocations: 0.5288 MB / 0.8794 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.003772, allocations: 4 kB / 0.8794 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.003796, allocations: 3.938 kB / 0.8794 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.394e-05/0.00385, allocations: 12.56 kB / 0.8794 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.004309, allocations: 94.89 kB / 0.8795 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.784e-05/0.004377, allocations: 19.86 kB / 0.8795 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.004421, allocations: 4 kB / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.34e-05/0.004485, allocations: 11.94 kB / 0.8795 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.004536, allocations: 11.97 kB / 0.8795 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.004549, allocations: 0 / 0.8795 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.004878, allocations: 135.7 kB / 0.8797 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.004893, allocations: 4.875 kB / 0.8797 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.004921, allocations: 4 kB / 0.8797 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.005173, allocations: 103.8 kB / 0.8798 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.005176, allocations: 0.5938 kB / 0.8798 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.71e-07/0.005176, allocations: 1.375 kB / 0.8798 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.00518, allocations: 0 / 0.8798 GB, free: 4.301 MB / 0.8386 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.0004265/0.005607, allocations: 278 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.005647, allocations: 8.031 kB / 0.8801 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005188/0.006166, allocations: 38.8 kB / 0.8801 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.006287, allocations: 105.8 kB / 0.8802 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.006303, allocations: 5.625 kB / 0.8802 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.006314, allocations: 384 / 0.8802 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.006487, allocations: 50.72 kB / 0.8802 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.006496, allocations: 1.406 kB / 0.8802 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.006509, allocations: 384 / 0.8802 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.006515, allocations: 384 / 0.8802 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.00668, allocations: 31.91 kB / 0.8803 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.006862, allocations: 113.3 kB / 0.8804 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.007035, allocations: 46.48 kB / 0.8804 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.836e-05/0.007113, allocations: 16.92 kB / 0.8804 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.007133, allocations: 0 / 0.8804 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.007171, allocations: 38.55 kB / 0.8805 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.007172, allocations: 0 / 0.8805 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003485/0.007521, allocations: 65.67 kB / 0.8805 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.007579, allocations: 55.39 kB / 0.8806 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.00768, allocations: 101.8 kB / 0.8807 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.007703, allocations: 25.7 kB / 0.8807 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.007753, allocations: 84.14 kB / 0.8808 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.007777, allocations: 4.078 kB / 0.8808 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.007823, allocations: 25.64 kB / 0.8808 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.007991, allocations: 314.8 kB / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.269e-05/0.008064, allocations: 7.984 kB / 0.8811 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-05/0.008126, allocations: 15.98 kB / 0.8811 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.008267, allocations: 28.84 kB / 0.8812 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008269, allocations: 4.062 kB / 0.8812 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000197/0.008466, allocations: 57.67 kB / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.008485, allocations: 6.344 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.302e-05/0.008528, allocations: 4 kB / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.008546, allocations: 0 / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.008656, allocations: 11.92 kB / 0.8813 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.008662, allocations: 0 / 0.8813 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.194e-05/0.008734, allocations: 15.91 kB / 0.8813 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.008745, allocations: 3.984 kB / 0.8813 GB, free: 2.598 MB / 0.8386 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 9.436e-05/0.008839, allocations: 105.8 kB / 0.8814 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.008859, allocations: 4 kB / 0.8814 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.008903, allocations: 11.25 kB / 0.8814 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.008906, allocations: 0 / 0.8814 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.008914, allocations: 4 kB / 0.8814 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.008919, allocations: 3.938 kB / 0.8814 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.009035, allocations: 101.3 kB / 0.8815 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.009037, allocations: 4 kB / 0.8815 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.444e-05/0.009121, allocations: 11.98 kB / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.009124, allocations: 0 / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.009133, allocations: 0 / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.009134, allocations: 0 / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009135, allocations: 0 / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.009389, allocations: 96.92 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.009449, allocations: 12.03 kB / 0.8816 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.009465, allocations: 0 / 0.8816 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.00954, allocations: 7.984 kB / 0.8816 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.009554, allocations: 0 / 0.8816 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.00956, allocations: 0 / 0.8816 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.009613, allocations: 79.28 kB / 0.8817 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.009613, allocations: 0 / 0.8817 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002296/0.009843, allocations: 15.88 kB / 0.8817 GB, free: 2.09 MB / 0.8386 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.0002217/0.01006, allocations: 111.2 kB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.01026, allocations: 35.97 kB / 0.8819 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01027, allocations: 0 / 0.8819 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.911e-05/0.01036, allocations: 15.92 kB / 0.8819 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.01059, allocations: 7.984 kB / 0.8819 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.01101, allocations: 116.9 kB / 0.882 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.862e-05/0.01107, allocations: 55.36 kB / 0.882 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.443e-05/0.01113, allocations: 8 kB / 0.882 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.01118, allocations: 20.42 kB / 0.8821 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of SimCode: time 4e-07/0.01118, allocations: 0 / 0.8821 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of Templates: time 0.003833/0.01501, allocations: 0.8081 MB / 0.8829 GB, free: 0.8945 MB / 0.8386 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.268375660059974]