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.00138/0.00138, allocations: 81.14 kB / 19.87 MB, free: 4.621 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.001533/0.001533, allocations: 173 kB / 23.27 MB, free: 1.227 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.011/1.011, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.313/2.313, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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.423e-06/1.423e-06, allocations: 0 / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037e-05/1.179e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001498/0.001509, allocations: 1.356 MB / 0.8911 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.003555, allocations: 0.6308 MB / 0.8917 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.003588, allocations: 0 / 0.8917 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.003611, allocations: 8 kB / 0.8917 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.003663, allocations: 7.875 kB / 0.8917 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/0.004274, allocations: 103.5 kB / 0.8918 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.478e-05/0.004349, allocations: 27.86 kB / 0.8918 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.004387, allocations: 0 / 0.8918 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.812e-05/0.004435, allocations: 15.97 kB / 0.8919 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.004509, allocations: 11.92 kB / 0.8919 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.004525, allocations: 4 kB / 0.8919 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.004831, allocations: 143.7 kB / 0.892 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.004856, allocations: 3.984 kB / 0.892 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.004882, allocations: 11.92 kB / 0.892 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.005141, allocations: 111.7 kB / 0.8921 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.005146, allocations: 0 / 0.8921 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.813e-06/0.005148, allocations: 0 / 0.8921 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.005151, allocations: 0 / 0.8921 GB, free: 7.281 MB / 0.8542 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.0004338/0.005585, allocations: 388.1 kB / 0.8925 GB, free: 6.863 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.005629, allocations: 8.625 kB / 0.8925 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003661/0.005995, allocations: 40.78 kB / 0.8926 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.248e-05/0.006088, allocations: 108.6 kB / 0.8927 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.006101, allocations: 4.375 kB / 0.8927 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.006122, allocations: 4.375 kB / 0.8927 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.00628, allocations: 88.62 kB / 0.8927 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.006288, allocations: 192 / 0.8927 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.006298, allocations: 384 / 0.8927 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.006303, allocations: 4.375 kB / 0.8928 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.45e-05/0.006348, allocations: 23.86 kB / 0.8928 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.006463, allocations: 105.2 kB / 0.8929 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.0066, allocations: 59.06 kB / 0.8929 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.006624, allocations: 23.75 kB / 0.893 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.006643, allocations: 0 / 0.893 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.006663, allocations: 41.39 kB / 0.893 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.006664, allocations: 4 kB / 0.893 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.001346/0.00801, allocations: 425.3 kB / 0.8934 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.008039, allocations: 51.41 kB / 0.8935 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.008116, allocations: 161.9 kB / 0.8936 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.008136, allocations: 33.64 kB / 0.8936 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.008181, allocations: 126.9 kB / 0.8938 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.008217, allocations: 19.84 kB / 0.8938 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.008267, allocations: 39.47 kB / 0.8938 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.008419, allocations: 496.1 kB / 0.8943 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.008462, allocations: 23.98 kB / 0.8943 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.483e-05/0.008497, allocations: 19.98 kB / 0.8943 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.434e-05/0.008581, allocations: 63.64 kB / 0.8944 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.008582, allocations: 0 / 0.8944 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000149/0.008731, allocations: 89.66 kB / 0.8945 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.008745, allocations: 8 kB / 0.8945 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.008751, allocations: 4 kB / 0.8945 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.008762, allocations: 0 / 0.8945 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.008868, allocations: 27.91 kB / 0.8945 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.008871, allocations: 0 / 0.8945 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.00892, allocations: 7.938 kB / 0.8945 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.008933, allocations: 7.984 kB / 0.8945 GB, free: 4.586 MB / 0.8542 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.953e-05/0.009012, allocations: 156.5 kB / 0.8947 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.009035, allocations: 15.95 kB / 0.8947 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.009078, allocations: 12.06 kB / 0.8947 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.00908, allocations: 0 / 0.8947 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.009082, allocations: 4 kB / 0.8947 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.009088, allocations: 4 kB / 0.8947 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.009205, allocations: 127.5 kB / 0.8948 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.009208, allocations: 4 kB / 0.8948 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.226e-05/0.0093, allocations: 19.97 kB / 0.8949 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.009302, allocations: 0 / 0.8949 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.009316, allocations: 7.984 kB / 0.8949 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.009317, allocations: 0 / 0.8949 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.009319, allocations: 3.938 kB / 0.8949 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.00955, allocations: 156.3 kB / 0.895 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-06/0.009559, allocations: 3.953 kB / 0.895 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.009574, allocations: 4.031 kB / 0.895 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.009642, allocations: 7.984 kB / 0.895 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.009654, allocations: 4 kB / 0.895 GB, free: 4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.009665, allocations: 3.984 kB / 0.895 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.037e-05/0.009705, allocations: 123.2 kB / 0.8952 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.009705, allocations: 0 / 0.8952 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001752/0.00988, allocations: 35.88 kB / 0.8952 GB, free: 3.84 MB / 0.8542 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.0001831/0.01006, allocations: 135.2 kB / 0.8953 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.0102, allocations: 75.52 kB / 0.8954 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.0102, allocations: 0 / 0.8954 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/0.01024, allocations: 43.66 kB / 0.8954 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.0104, allocations: 7.984 kB / 0.8954 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.01094, allocations: 168.6 kB / 0.8956 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.603e-05/0.01098, allocations: 55.36 kB / 0.8957 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.82e-05/0.01107, allocations: 32.25 kB / 0.8957 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.01118, allocations: 86.17 kB / 0.8958 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/0.01118, allocations: 0 / 0.8958 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of Templates: time 0.003651/0.01483, allocations: 1.83 MB / 0.8976 GB, free: 1.406 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.362124632112682]