Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.001475/0.001475, allocations: 69.89 kB / 20.65 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.001761/0.001761, allocations: 169 kB / 24.06 MB, free: 448 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.985/0.985, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.148/2.148, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.8794 GB, free: 4.848 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.758e-05, allocations: 4.344 kB / 0.8794 GB, free: 4.844 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001902/0.00193, allocations: 1.342 MB / 0.8807 GB, free: 3.516 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009573/0.002887, allocations: 0.65 MB / 0.8814 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.002918, allocations: 0 / 0.8814 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.002937, allocations: 0 / 0.8814 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.463e-05/0.002992, allocations: 8.969 kB / 0.8814 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005887/0.00358, allocations: 113.2 kB / 0.8815 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.599e-05/0.003656, allocations: 23.92 kB / 0.8815 GB, free: 2.734 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.003704, allocations: 7.938 kB / 0.8815 GB, free: 2.727 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.327e-05/0.003747, allocations: 11.97 kB / 0.8815 GB, free: 2.715 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.294e-05/0.00383, allocations: 9.031 kB / 0.8815 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.003844, allocations: 0 / 0.8815 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.004133, allocations: 147.7 kB / 0.8817 GB, free: 2.562 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.004153, allocations: 1.125 kB / 0.8817 GB, free: 2.562 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.004178, allocations: 11.98 kB / 0.8817 GB, free: 2.551 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.004417, allocations: 111.7 kB / 0.8818 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.00442, allocations: 1.031 kB / 0.8818 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.453e-06/0.004421, allocations: 0 / 0.8818 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.004426, allocations: 5.062 kB / 0.8818 GB, free: 2.438 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004512/0.004877, allocations: 388.4 kB / 0.8822 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.004916, allocations: 10.5 kB / 0.8822 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.005276, allocations: 32.84 kB / 0.8822 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.005377, allocations: 104.6 kB / 0.8823 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.005392, allocations: 10.44 kB / 0.8823 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.005413, allocations: 384 / 0.8823 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.005573, allocations: 92.61 kB / 0.8824 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.005581, allocations: 192 / 0.8824 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.005591, allocations: 384 / 0.8824 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.005598, allocations: 5.078 kB / 0.8824 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.791e-05/0.005646, allocations: 25.52 kB / 0.8824 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.005798, allocations: 105.2 kB / 0.8825 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.005978, allocations: 59.06 kB / 0.8826 GB, free: 1.512 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.006011, allocations: 21.45 kB / 0.8826 GB, free: 1.488 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.006025, allocations: 0 / 0.8826 GB, free: 1.488 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.006053, allocations: 41.39 kB / 0.8826 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.006054, allocations: 1.594 kB / 0.8826 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of matching and sorting (n=6): time 0.001948/0.008002, allocations: 429.3 kB / 0.8831 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.008034, allocations: 51.41 kB / 0.8831 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.448e-05/0.008109, allocations: 161.9 kB / 0.8833 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.008129, allocations: 33.64 kB / 0.8833 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.008173, allocations: 134.9 kB / 0.8834 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.008208, allocations: 11.86 kB / 0.8834 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/0.008272, allocations: 35.34 kB / 0.8835 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.008419, allocations: 496.1 kB / 0.8839 GB, free: 16 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.00848, allocations: 24.03 kB / 0.884 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.072e-05/0.008531, allocations: 24.06 kB / 0.884 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.00865, allocations: 67.64 kB / 0.8841 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.008652, allocations: 4 kB / 0.8841 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001974/0.00885, allocations: 89.66 kB / 0.8841 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.008864, allocations: 4 kB / 0.8841 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.008868, allocations: 4 kB / 0.8841 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.008878, allocations: 0 / 0.8841 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.00902, allocations: 31.91 kB / 0.8842 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.009023, allocations: 0 / 0.8842 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.009104, allocations: 7.938 kB / 0.8842 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.009119, allocations: 7.984 kB / 0.8842 GB, free: 15.75 MB / 0.8073 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 (7): * Single equations (assignments): 7 * 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 8.699e-05/0.009206, allocations: 152.6 kB / 0.8843 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.009236, allocations: 8 kB / 0.8843 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.009283, allocations: 12.12 kB / 0.8844 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.009285, allocations: 0 / 0.8844 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.009287, allocations: 4 kB / 0.8844 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.009293, allocations: 8.25 kB / 0.8844 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.009423, allocations: 115.5 kB / 0.8845 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.009424, allocations: 0 / 0.8845 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.009556, allocations: 19.98 kB / 0.8845 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009559, allocations: 0 / 0.8845 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.009574, allocations: 7.984 kB / 0.8845 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.009576, allocations: 4 kB / 0.8845 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.009579, allocations: 7.922 kB / 0.8845 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.00987, allocations: 160.3 kB / 0.8847 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.009879, allocations: 0 / 0.8847 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.009899, allocations: 0 / 0.8847 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.765e-05/0.009997, allocations: 11.98 kB / 0.8847 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.01001, allocations: 0 / 0.8847 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.01002, allocations: 8.016 kB / 0.8847 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.005e-05/0.01006, allocations: 123.2 kB / 0.8848 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01006, allocations: 0 / 0.8848 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002843/0.01035, allocations: 35.88 kB / 0.8848 GB, free: 15.02 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001996/0.01055, allocations: 135 kB / 0.885 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001684/0.01072, allocations: 75.58 kB / 0.885 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01072, allocations: 96 / 0.885 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.781e-05/0.01079, allocations: 51.66 kB / 0.8851 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.01098, allocations: 7.984 kB / 0.8851 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005778/0.01156, allocations: 158.2 kB / 0.8853 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.415e-05/0.01159, allocations: 59.34 kB / 0.8853 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.01175, allocations: 31.88 kB / 0.8853 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.01188, allocations: 86.17 kB / 0.8854 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of SimCode: time 9.52e-07/0.01188, allocations: 0 / 0.8854 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of Templates: time 0.004393/0.01627, allocations: 1.84 MB / 0.8872 GB, free: 12.58 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.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.489447261206806]