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.001339/0.001339, allocations: 93.06 kB / 19.65 MB, free: 276 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.001841/0.001841, allocations: 165 kB / 23.01 MB, free: 1.551 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 0.9914/0.9914, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.149/2.149, allocations: 429.5 MB / 0.6732 GB, free: 4.023 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.623e-06/1.623e-06, allocations: 0 / 0.8782 GB, free: 5.156 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.453e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.152 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00209/0.002115, allocations: 1.339 MB / 0.8795 GB, free: 3.82 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008561/0.002971, allocations: 0.6452 MB / 0.8801 GB, free: 3.184 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/0.002994, allocations: 1.125 kB / 0.8801 GB, free: 3.184 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.003019, allocations: 0 / 0.8801 GB, free: 3.184 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.894e-05/0.003068, allocations: 8.906 kB / 0.8801 GB, free: 3.176 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.003517, allocations: 116.2 kB / 0.8803 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.063e-05/0.003578, allocations: 23.86 kB / 0.8803 GB, free: 3.039 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.003619, allocations: 15.42 kB / 0.8803 GB, free: 3.027 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.417e-05/0.003653, allocations: 11.98 kB / 0.8803 GB, free: 3.016 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.003713, allocations: 11.97 kB / 0.8803 GB, free: 3.004 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.003729, allocations: 4 kB / 0.8803 GB, free: 3 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.003947, allocations: 139.7 kB / 0.8805 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.003963, allocations: 4 kB / 0.8805 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.003988, allocations: 7.984 kB / 0.8805 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.004185, allocations: 111.7 kB / 0.8806 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.004189, allocations: 4 kB / 0.8806 GB, free: 2.738 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.282e-06/0.00419, allocations: 0.5938 kB / 0.8806 GB, free: 2.738 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.004195, allocations: 0 / 0.8806 GB, free: 2.738 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.0004343/0.004629, allocations: 385.7 kB / 0.8809 GB, free: 2.324 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.004669, allocations: 8.031 kB / 0.8809 GB, free: 2.316 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003015/0.004971, allocations: 42.36 kB / 0.881 GB, free: 2.277 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.13e-05/0.005052, allocations: 109.8 kB / 0.8811 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.005065, allocations: 384 / 0.8811 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.0051, allocations: 8.375 kB / 0.8811 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.005252, allocations: 96.62 kB / 0.8812 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.005259, allocations: 192 / 0.8812 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.00527, allocations: 384 / 0.8812 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.005278, allocations: 384 / 0.8812 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.453e-05/0.005323, allocations: 19.92 kB / 0.8812 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.00546, allocations: 128.6 kB / 0.8813 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.005653, allocations: 63.02 kB / 0.8814 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.005687, allocations: 23.78 kB / 0.8814 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.005709, allocations: 7.984 kB / 0.8814 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.005734, allocations: 33.39 kB / 0.8815 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.005735, allocations: 3.938 kB / 0.8815 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of matching and sorting (n=6): time 0.001658/0.007393, allocations: 449.3 kB / 0.8819 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.007426, allocations: 59.34 kB / 0.8819 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.034e-05/0.007506, allocations: 153.9 kB / 0.8821 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.007524, allocations: 29.7 kB / 0.8821 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.007562, allocations: 130.9 kB / 0.8822 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.007595, allocations: 23.77 kB / 0.8823 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.007644, allocations: 31.36 kB / 0.8823 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.00777, allocations: 0.4884 MB / 0.8828 GB, free: 252 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/0.007822, allocations: 27.98 kB / 0.8828 GB, free: 224 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-05/0.007868, allocations: 31.92 kB / 0.8828 GB, free: 192 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.00797, allocations: 67.8 kB / 0.8829 GB, free: 120 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.007972, allocations: 4 kB / 0.8829 GB, free: 116 kB / 0.7917 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001688/0.00814, allocations: 105.6 kB / 0.883 GB, free: 4 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.008173, allocations: 10.39 kB / 0.883 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008178, allocations: 0 / 0.883 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.008196, allocations: 0 / 0.883 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.008309, allocations: 19.92 kB / 0.883 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.008318, allocations: 7.938 kB / 0.883 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.29e-05/0.008371, allocations: 3.938 kB / 0.883 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.008385, allocations: 11.98 kB / 0.8831 GB, free: 15.95 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 7.965e-05/0.008465, allocations: 156.6 kB / 0.8832 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.008489, allocations: 8.281 kB / 0.8832 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.008533, allocations: 12.12 kB / 0.8832 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.008536, allocations: 4 kB / 0.8832 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.008543, allocations: 7.922 kB / 0.8832 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.008547, allocations: 0 / 0.8832 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.008659, allocations: 134.9 kB / 0.8834 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.00866, allocations: 0 / 0.8834 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.431e-05/0.008754, allocations: 23.97 kB / 0.8834 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.008757, allocations: 0 / 0.8834 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.00877, allocations: 3.984 kB / 0.8834 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.008771, allocations: 64 / 0.8834 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.008773, allocations: 4 kB / 0.8834 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.009035, allocations: 188.4 kB / 0.8836 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.009042, allocations: 4 kB / 0.8836 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.009061, allocations: 0 / 0.8836 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.009128, allocations: 7.984 kB / 0.8836 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.009145, allocations: 4 kB / 0.8836 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.009156, allocations: 7.922 kB / 0.8836 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.964e-05/0.009196, allocations: 127.2 kB / 0.8837 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.009196, allocations: 128 / 0.8837 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001771/0.009373, allocations: 35.88 kB / 0.8838 GB, free: 15.17 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.0001805/0.009554, allocations: 123.2 kB / 0.8839 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.009718, allocations: 87.56 kB / 0.884 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.009719, allocations: 0 / 0.884 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.632e-05/0.009776, allocations: 47.66 kB / 0.884 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.009956, allocations: 20.8 kB / 0.884 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006352/0.01059, allocations: 162.2 kB / 0.8842 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.06e-05/0.01063, allocations: 63.23 kB / 0.8842 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000106/0.01074, allocations: 31.92 kB / 0.8843 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.01079, allocations: 16.48 kB / 0.8843 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of SimCode: time 8.51e-07/0.01079, allocations: 0 / 0.8843 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of Templates: time 0.003796/0.01459, allocations: 1.648 MB / 0.8859 GB, free: 12.98 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.6045723981224]