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.001575/0.001575, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001882/0.001882, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9526/0.9526, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 2.163/2.163, allocations: 429.5 MB / 0.6743 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 177] 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.302e-06/1.302e-06, allocations: 0 / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/1.99e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001559/0.001579, allocations: 1.349 MB / 0.8807 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000655/0.002234, allocations: 0.568 MB / 0.8813 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.002251, allocations: 0 / 0.8813 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.002265, allocations: 1.625 kB / 0.8813 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.779e-05/0.002303, allocations: 7.922 kB / 0.8813 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.002579, allocations: 96.61 kB / 0.8814 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.702e-05/0.002626, allocations: 27.84 kB / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 2.634e-05/0.002653, allocations: 0 / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.164e-05/0.002694, allocations: 13.03 kB / 0.8814 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.451e-05/0.002729, allocations: 7.984 kB / 0.8814 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.00274, allocations: 0 / 0.8814 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.002938, allocations: 136.4 kB / 0.8815 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.002953, allocations: 3.938 kB / 0.8815 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.259e-05/0.002965, allocations: 4.812 kB / 0.8815 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.003107, allocations: 111.7 kB / 0.8817 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.003109, allocations: 1.281 kB / 0.8817 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003109, allocations: 4 kB / 0.8817 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.003112, allocations: 0 / 0.8817 GB, free: 3.719 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.0002341/0.003346, allocations: 369.4 kB / 0.882 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.003377, allocations: 15.97 kB / 0.882 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.003616, allocations: 29.97 kB / 0.8821 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.586e-05/0.003682, allocations: 121.6 kB / 0.8822 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.003691, allocations: 4.359 kB / 0.8822 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.0037, allocations: 4.375 kB / 0.8822 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.168e-05/0.003782, allocations: 57.97 kB / 0.8822 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-06/0.003787, allocations: 192 / 0.8822 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-06/0.003792, allocations: 384 / 0.8822 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.003796, allocations: 384 / 0.8822 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.001e-05/0.003826, allocations: 19.86 kB / 0.8823 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.255e-05/0.003918, allocations: 102.7 kB / 0.8824 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.983e-05/0.003968, allocations: 43.06 kB / 0.8824 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.003989, allocations: 19.73 kB / 0.8824 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.003999, allocations: 0.625 kB / 0.8824 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.004018, allocations: 35.05 kB / 0.8824 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 5.61e-07/0.004019, allocations: 0 / 0.8824 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001081/0.004127, allocations: 61.61 kB / 0.8825 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.004147, allocations: 52.34 kB / 0.8826 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.062e-05/0.004198, allocations: 153.9 kB / 0.8827 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.004207, allocations: 26.3 kB / 0.8827 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.004234, allocations: 126.9 kB / 0.8828 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.004253, allocations: 9.547 kB / 0.8829 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.00428, allocations: 23.34 kB / 0.8829 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.004381, allocations: 0.4883 MB / 0.8834 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.004396, allocations: 7.984 kB / 0.8834 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.197e-05/0.004408, allocations: 8.125 kB / 0.8834 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.256e-05/0.004441, allocations: 23.67 kB / 0.8834 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.004442, allocations: 0 / 0.8834 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.914e-05/0.004501, allocations: 49.62 kB / 0.8834 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.00451, allocations: 4 kB / 0.8834 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.004513, allocations: 0 / 0.8834 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.451e-06/0.004519, allocations: 0 / 0.8834 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.296e-05/0.004572, allocations: 12.08 kB / 0.8835 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.004574, allocations: 0 / 0.8835 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.004596, allocations: 4 kB / 0.8835 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.004602, allocations: 11.88 kB / 0.8835 GB, free: 1.672 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 5.376e-05/0.004656, allocations: 156.6 kB / 0.8836 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.004665, allocations: 4 kB / 0.8836 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.004689, allocations: 7.297 kB / 0.8836 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.00469, allocations: 0 / 0.8836 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.004692, allocations: 4 kB / 0.8836 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.004695, allocations: 0 / 0.8836 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.739e-05/0.004762, allocations: 105.2 kB / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.004763, allocations: 0 / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.004791, allocations: 11.98 kB / 0.8837 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.004792, allocations: 0 / 0.8837 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.004797, allocations: 0 / 0.8837 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004798, allocations: 3.938 kB / 0.8838 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.004798, allocations: 0 / 0.8838 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.603e-05/0.004874, allocations: 84.36 kB / 0.8838 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.759e-05/0.004902, allocations: 23.94 kB / 0.8839 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-06/0.00491, allocations: 0 / 0.8839 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.004929, allocations: 0 / 0.8839 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-06/0.004938, allocations: 4 kB / 0.8839 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.004941, allocations: 0 / 0.8839 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.148e-05/0.004973, allocations: 127.3 kB / 0.884 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.004973, allocations: 0 / 0.884 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001351/0.005108, allocations: 12 kB / 0.884 GB, free: 1.078 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.0001049/0.005213, allocations: 115.2 kB / 0.8841 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.248e-05/0.005285, allocations: 27.61 kB / 0.8841 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.005286, allocations: 0 / 0.8841 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.781e-05/0.005304, allocations: 15.69 kB / 0.8841 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.005439, allocations: 17.42 kB / 0.8842 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.005831, allocations: 122.5 kB / 0.8843 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.316e-05/0.005854, allocations: 55.3 kB / 0.8843 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.036e-05/0.005894, allocations: 11.94 kB / 0.8843 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.005949, allocations: 78.19 kB / 0.8844 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/0.005949, allocations: 3.938 kB / 0.8844 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of Templates: time 0.002096/0.008045, allocations: 0.9074 MB / 0.8853 GB, free: 15.69 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.334489644039422]