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.001085/0.001085, allocations: 92.22 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.001123/0.001123, allocations: 173 kB / 23.02 MB, free: 1.547 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.9738/0.9738, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.039/2.039, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.773e-06/1.773e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.927e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.005239/0.005268, allocations: 1.349 MB / 0.8795 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009846/0.006253, allocations: 0.6432 MB / 0.8801 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.006281, allocations: 0 / 0.8801 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.006306, allocations: 1 kB / 0.8801 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.237e-05/0.006359, allocations: 11.88 kB / 0.8801 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.006862, allocations: 112.7 kB / 0.8803 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.483e-05/0.006926, allocations: 27.91 kB / 0.8803 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.006962, allocations: 0.875 kB / 0.8803 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.007001, allocations: 19.92 kB / 0.8803 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.007061, allocations: 8.859 kB / 0.8803 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.007076, allocations: 4 kB / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.01034, allocations: 136.8 kB / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.01036, allocations: 7.922 kB / 0.8805 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.01039, allocations: 11.98 kB / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.01058, allocations: 108.7 kB / 0.8806 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01058, allocations: 3.938 kB / 0.8806 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.833e-06/0.01058, allocations: 4 kB / 0.8806 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.01059, allocations: 1.094 kB / 0.8806 GB, free: 3.859 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003916/0.01098, allocations: 388.3 kB / 0.8809 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.01101, allocations: 9 kB / 0.881 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/0.01135, allocations: 37.11 kB / 0.881 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.005e-05/0.01144, allocations: 108.6 kB / 0.8811 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.01145, allocations: 384 / 0.8811 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.01148, allocations: 8.375 kB / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.01164, allocations: 88.62 kB / 0.8812 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.01164, allocations: 192 / 0.8812 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.01166, allocations: 4.375 kB / 0.8812 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.01166, allocations: 384 / 0.8812 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.207e-05/0.01172, allocations: 24.48 kB / 0.8812 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.01187, allocations: 125.2 kB / 0.8813 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.01209, allocations: 68.59 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/0.01213, allocations: 15.69 kB / 0.8814 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.01215, allocations: 12.08 kB / 0.8814 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.01217, allocations: 33.39 kB / 0.8815 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.01218, allocations: 0 / 0.8815 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.001572/0.01375, allocations: 449.3 kB / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.01378, allocations: 55.34 kB / 0.8819 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.01384, allocations: 157.9 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.01385, allocations: 25.7 kB / 0.8821 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.01388, allocations: 139 kB / 0.8822 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.01391, allocations: 27.72 kB / 0.8823 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.01396, allocations: 31.36 kB / 0.8823 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.01406, allocations: 492.1 kB / 0.8828 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.016e-05/0.01411, allocations: 31.97 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.286e-05/0.01416, allocations: 36.05 kB / 0.8828 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.349e-05/0.01425, allocations: 63.67 kB / 0.8829 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01425, allocations: 0 / 0.8829 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001476/0.0144, allocations: 113.6 kB / 0.883 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.01441, allocations: 8 kB / 0.883 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.01442, allocations: 3.938 kB / 0.883 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.01443, allocations: 0 / 0.883 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.01453, allocations: 27.91 kB / 0.883 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01454, allocations: 3.938 kB / 0.883 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.01459, allocations: 4 kB / 0.8831 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.0146, allocations: 7.984 kB / 0.8831 GB, free: 1.074 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 (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 6.861e-05/0.01467, allocations: 156.6 kB / 0.8832 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.01469, allocations: 11.95 kB / 0.8832 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.01473, allocations: 12.12 kB / 0.8832 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01473, allocations: 0 / 0.8832 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01473, allocations: 3.938 kB / 0.8832 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01474, allocations: 4 kB / 0.8832 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.881e-05/0.01484, allocations: 130.9 kB / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01484, allocations: 0 / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-05/0.01493, allocations: 23.97 kB / 0.8834 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01493, allocations: 0 / 0.8834 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.01495, allocations: 3.984 kB / 0.8834 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01495, allocations: 0 / 0.8834 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01495, allocations: 0 / 0.8834 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.01519, allocations: 180.2 kB / 0.8836 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-06/0.0152, allocations: 7.953 kB / 0.8836 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.01521, allocations: 0 / 0.8836 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.556e-05/0.01528, allocations: 11.98 kB / 0.8836 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.01529, allocations: 4 kB / 0.8836 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.01531, allocations: 7.922 kB / 0.8836 GB, free: 472 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002875/0.01559, allocations: 123.2 kB / 0.8837 GB, free: 348 kB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01559, allocations: 0 / 0.8837 GB, free: 348 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001709/0.01576, allocations: 35.88 kB / 0.8837 GB, free: 312 kB / 0.8386 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.0001786/0.01594, allocations: 127.3 kB / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.01609, allocations: 87.58 kB / 0.884 GB, free: 80 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01609, allocations: 0 / 0.884 GB, free: 80 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.815e-05/0.01614, allocations: 43.66 kB / 0.884 GB, free: 32 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.01629, allocations: 15.92 kB / 0.884 GB, free: 16 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005475/0.01684, allocations: 180.4 kB / 0.8842 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.008e-05/0.01687, allocations: 59.3 kB / 0.8842 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000105/0.01697, allocations: 36.19 kB / 0.8843 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.01702, allocations: 16.48 kB / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.01702, allocations: 0 / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.003611/0.02063, allocations: 1.796 MB / 0.886 GB, free: 13.96 MB / 0.8542 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.227432777173817]