Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001796/0.001796, allocations: 84.05 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002118/0.002118, allocations: 165.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.932/2.932, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 1 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.383e-05, allocations: 9.594 kB / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002369/0.002403, allocations: 1.308 MB / 1.001 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.003643, allocations: 0.7008 MB / 1.002 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.00367, allocations: 4 kB / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.003692, allocations: 3.938 kB / 1.002 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.3e-05/0.003735, allocations: 15.91 kB / 1.002 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.0043, allocations: 163.1 kB / 1.002 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.325e-05/0.004373, allocations: 27.86 kB / 1.002 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.004414, allocations: 3.984 kB / 1.002 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.854e-05/0.004473, allocations: 19.92 kB / 1.002 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.004525, allocations: 11.92 kB / 1.002 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.004539, allocations: 8 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.004877, allocations: 159.8 kB / 1.002 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.004895, allocations: 7.938 kB / 1.003 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.00492, allocations: 11.98 kB / 1.003 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.005233, allocations: 163.5 kB / 1.003 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.005238, allocations: 8 kB / 1.003 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005238, allocations: 0 / 1.003 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.005246, allocations: 0 / 1.003 GB, free: 4.695 MB / 0.9512 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.0004351/0.005681, allocations: 293.9 kB / 1.003 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.005722, allocations: 8.031 kB / 1.003 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007553/0.006477, allocations: 56.83 kB / 1.003 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.44e-05/0.006571, allocations: 105.8 kB / 1.003 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.006579, allocations: 384 / 1.003 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.006593, allocations: 8.312 kB / 1.003 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.006748, allocations: 71.95 kB / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.006757, allocations: 192 / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.006767, allocations: 8.375 kB / 1.003 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.006772, allocations: 384 / 1.003 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.895e-05/0.006841, allocations: 31.91 kB / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.006989, allocations: 101.3 kB / 1.003 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.007118, allocations: 58.59 kB / 1.003 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.503e-05/0.007163, allocations: 24.89 kB / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.007184, allocations: 4 kB / 1.003 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.007214, allocations: 30.56 kB / 1.003 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.007215, allocations: 0 / 1.003 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0002002/0.007415, allocations: 81.8 kB / 1.004 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.007453, allocations: 55.41 kB / 1.004 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.007522, allocations: 97.8 kB / 1.004 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.007541, allocations: 29.7 kB / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.007577, allocations: 84.08 kB / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.007608, allocations: 19.8 kB / 1.004 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.007653, allocations: 21.7 kB / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.007784, allocations: 314.8 kB / 1.004 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.933e-05/0.007813, allocations: 11.98 kB / 1.004 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/0.007841, allocations: 16.06 kB / 1.004 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.55e-05/0.007906, allocations: 28.86 kB / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007908, allocations: 8.125 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001191/0.008027, allocations: 69.58 kB / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.008043, allocations: 7.984 kB / 1.004 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.008047, allocations: 0 / 1.004 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.008061, allocations: 3.984 kB / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.008184, allocations: 12 kB / 1.004 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.00819, allocations: 4 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/0.008234, allocations: 7.922 kB / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.008242, allocations: 4 kB / 1.004 GB, free: 2.867 MB / 0.9512 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 8.401e-05/0.008326, allocations: 110.4 kB / 1.004 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.008337, allocations: 4 kB / 1.004 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.008547, allocations: 89.58 kB / 1.004 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.008549, allocations: 0 / 1.004 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.008554, allocations: 3.984 kB / 1.004 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.008559, allocations: 3.938 kB / 1.004 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.008669, allocations: 117.2 kB / 1.005 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.00867, allocations: 0 / 1.005 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.008771, allocations: 19.98 kB / 1.005 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.008773, allocations: 0 / 1.005 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.008781, allocations: 3.938 kB / 1.005 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.008783, allocations: 4 kB / 1.005 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008784, allocations: 192 / 1.005 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.008928, allocations: 97 kB / 1.005 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.008968, allocations: 11.98 kB / 1.005 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.008983, allocations: 4 kB / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.009039, allocations: 4 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.009057, allocations: 3.984 kB / 1.005 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.009067, allocations: 8 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.011e-05/0.009107, allocations: 83.22 kB / 1.005 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.009107, allocations: 0 / 1.005 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001982/0.009305, allocations: 11.94 kB / 1.005 GB, free: 2.234 MB / 0.9512 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 0.0001063/0.009412, allocations: 95.25 kB / 1.005 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.009525, allocations: 39.91 kB / 1.005 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.009527, allocations: 0 / 1.005 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.037e-05/0.009568, allocations: 27.98 kB / 1.005 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.009752, allocations: 0 / 1.005 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.01009, allocations: 136.9 kB / 1.005 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.201e-05/0.01015, allocations: 63.34 kB / 1.005 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.407e-05/0.01019, allocations: 3.984 kB / 1.005 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.01022, allocations: 12.5 kB / 1.005 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/0.01023, allocations: 7.938 kB / 1.005 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of Templates: time 0.002943/0.01317, allocations: 0.5721 MB / 1.006 GB, free: 1.246 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.126175466924906]