Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.0008932/0.0008932, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.00102/0.00102, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.9093/0.9093, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.737/1.737, allocations: 377.8 MB / 0.6228 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.419e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001635/0.001659, allocations: 1.306 MB / 0.9835 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008576/0.002517, allocations: 0.7162 MB / 0.9842 GB, free: 32 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.002545, allocations: 0 / 0.9842 GB, free: 32 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.002564, allocations: 8 kB / 0.9842 GB, free: 24 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.839e-05/0.002612, allocations: 11.91 kB / 0.9842 GB, free: 12 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.003043, allocations: 163.1 kB / 0.9843 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.387e-05/0.003117, allocations: 31.8 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.003167, allocations: 4 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.581e-05/0.003233, allocations: 11.97 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.003293, allocations: 11.98 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.003309, allocations: 4 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.003528, allocations: 171.6 kB / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.003546, allocations: 8 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.003566, allocations: 4 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.003783, allocations: 171.5 kB / 0.9847 GB, free: 15.44 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003785, allocations: 0 / 0.9847 GB, free: 15.44 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.81e-07/0.003786, allocations: 0 / 0.9847 GB, free: 15.44 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.00379, allocations: 0 / 0.9847 GB, free: 15.44 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000375/0.004165, allocations: 297.9 kB / 0.985 GB, free: 15.12 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.004205, allocations: 12.03 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004048/0.00461, allocations: 48.88 kB / 0.9851 GB, free: 15.06 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.164e-05/0.004682, allocations: 105.8 kB / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.004694, allocations: 4.375 kB / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.004703, allocations: 384 / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.00483, allocations: 83.89 kB / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.004838, allocations: 192 / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.004849, allocations: 384 / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004854, allocations: 4.375 kB / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.214e-05/0.004906, allocations: 31.91 kB / 0.9853 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.005026, allocations: 113.2 kB / 0.9854 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.005128, allocations: 50.66 kB / 0.9855 GB, free: 14.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.005166, allocations: 32.88 kB / 0.9855 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.005187, allocations: 3.938 kB / 0.9855 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.005207, allocations: 30.56 kB / 0.9855 GB, free: 14.52 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 6.81e-07/0.005208, allocations: 0 / 0.9855 GB, free: 14.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.000158/0.005366, allocations: 77.67 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.005395, allocations: 55.41 kB / 0.9857 GB, free: 14.37 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.005529, allocations: 97.8 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.005545, allocations: 29.7 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.913e-05/0.005565, allocations: 80.14 kB / 0.9859 GB, free: 14.15 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.005595, allocations: 19.8 kB / 0.9859 GB, free: 14.13 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.005624, allocations: 21.7 kB / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.0057, allocations: 314.8 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.00572, allocations: 11.98 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.005738, allocations: 15.94 kB / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.776e-05/0.005786, allocations: 32.86 kB / 0.9863 GB, free: 13.72 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.005788, allocations: 0 / 0.9863 GB, free: 13.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.15e-05/0.005859, allocations: 65.8 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.005871, allocations: 8 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.005876, allocations: 0 / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.005887, allocations: 4 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.704e-05/0.005984, allocations: 12.44 kB / 0.9863 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.005991, allocations: 3.938 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.006014, allocations: 7.922 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.006019, allocations: 0 / 0.9863 GB, free: 13.62 MB / 0.948 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 (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 prepare postOptimizeDAE: time 5.667e-05/0.006075, allocations: 117.8 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.006083, allocations: 7.953 kB / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.006229, allocations: 89.64 kB / 0.9866 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.006232, allocations: 3.984 kB / 0.9866 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.006236, allocations: 0 / 0.9866 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.00624, allocations: 3.938 kB / 0.9866 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.622e-05/0.006306, allocations: 109.3 kB / 0.9867 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006307, allocations: 0 / 0.9867 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/0.006355, allocations: 19.92 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.006357, allocations: 3.938 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.006365, allocations: 8 kB / 0.9867 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.006365, allocations: 0 / 0.9867 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006366, allocations: 0 / 0.9867 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.673e-05/0.006453, allocations: 101 kB / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.006493, allocations: 7.922 kB / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.006504, allocations: 4 kB / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.661e-05/0.006531, allocations: 0 / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.006546, allocations: 3.984 kB / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.006551, allocations: 4 kB / 0.9868 GB, free: 13.08 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.287e-05/0.006574, allocations: 79.28 kB / 0.9869 GB, free: 13 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006574, allocations: 4.094 kB / 0.9869 GB, free: 13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001254/0.006699, allocations: 11.94 kB / 0.9869 GB, free: 12.99 MB / 0.948 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 (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 Backend phase and start with SimCode phase: time 7.91e-05/0.006778, allocations: 105.7 kB / 0.987 GB, free: 12.88 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.12e-05/0.006869, allocations: 31.98 kB / 0.987 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.006871, allocations: 0 / 0.987 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.006894, allocations: 28.06 kB / 0.9871 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.007045, allocations: 8 kB / 0.9871 GB, free: 12.81 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.007331, allocations: 158.5 kB / 0.9872 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.152e-05/0.007373, allocations: 63.34 kB / 0.9873 GB, free: 12.54 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.007405, allocations: 12.5 kB / 0.9873 GB, free: 12.53 MB / 0.948 GB Notification: Performance of SimCode: time 8.21e-07/0.007406, allocations: 0 / 0.9873 GB, free: 12.53 MB / 0.948 GB Notification: Performance of Templates: time 0.00143/0.008835, allocations: 0.6061 MB / 0.9879 GB, free: 11.93 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.670305767096579]