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.001884/0.001884, allocations: 92.7 kB / 19.44 MB, free: 324 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.002662/0.002662, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.514/1.514, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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 3.205/3.205, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] 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.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.774e-06/1.774e-06, allocations: 0 / 0.8776 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.933e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002707/0.002737, allocations: 1.308 MB / 0.8789 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.004197, allocations: 0.7303 MB / 0.8796 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.004224, allocations: 0.5938 kB / 0.8796 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.004245, allocations: 0 / 0.8796 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.342e-05/0.004299, allocations: 4.719 kB / 0.8796 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005605/0.004859, allocations: 175.9 kB / 0.8798 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.138e-05/0.004941, allocations: 32.72 kB / 0.8798 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.004976, allocations: 0 / 0.8798 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.962e-05/0.005046, allocations: 13.08 kB / 0.8798 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.903e-05/0.005105, allocations: 7.984 kB / 0.8798 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.005117, allocations: 0 / 0.8798 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.005473, allocations: 176.6 kB / 0.88 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.005491, allocations: 3.984 kB / 0.88 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.005519, allocations: 8 kB / 0.88 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.005835, allocations: 161.1 kB / 0.8801 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.005838, allocations: 3.938 kB / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/0.005839, allocations: 0 / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.005844, allocations: 0 / 0.8801 GB, free: 3.93 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000497/0.006341, allocations: 302.8 kB / 0.8804 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.006383, allocations: 8.031 kB / 0.8804 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007321/0.007115, allocations: 61.08 kB / 0.8805 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.007225, allocations: 105.7 kB / 0.8806 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.007241, allocations: 4.375 kB / 0.8806 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.007251, allocations: 384 / 0.8806 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.007409, allocations: 79.94 kB / 0.8807 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.007416, allocations: 192 / 0.8807 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.007425, allocations: 1 kB / 0.8807 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.00743, allocations: 384 / 0.8807 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.438e-05/0.007504, allocations: 39.8 kB / 0.8807 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.007683, allocations: 117.2 kB / 0.8808 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.007824, allocations: 50.66 kB / 0.8809 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.007887, allocations: 32.88 kB / 0.8809 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.00791, allocations: 0 / 0.8809 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.007947, allocations: 34.56 kB / 0.8809 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 7.51e-07/0.007948, allocations: 0 / 0.8809 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002382/0.008186, allocations: 81.61 kB / 0.881 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.008236, allocations: 51.41 kB / 0.8811 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.72e-05/0.008333, allocations: 105.8 kB / 0.8812 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.008355, allocations: 25.7 kB / 0.8812 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.008404, allocations: 80.14 kB / 0.8813 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.008444, allocations: 19.86 kB / 0.8813 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.008489, allocations: 17.7 kB / 0.8813 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.008674, allocations: 314.8 kB / 0.8816 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.185e-05/0.008706, allocations: 12 kB / 0.8816 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.008735, allocations: 11.98 kB / 0.8816 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.882e-05/0.008814, allocations: 29.23 kB / 0.8817 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.008818, allocations: 4 kB / 0.8817 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001304/0.008949, allocations: 73.62 kB / 0.8817 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.008964, allocations: 8.125 kB / 0.8817 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.008969, allocations: 0 / 0.8817 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.00899, allocations: 3.984 kB / 0.8817 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.009128, allocations: 12 kB / 0.8818 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.009133, allocations: 0 / 0.8818 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.009175, allocations: 11.88 kB / 0.8818 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.009185, allocations: 3.984 kB / 0.8818 GB, free: 2.086 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 (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 0.0001037/0.009289, allocations: 113.8 kB / 0.8819 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.009308, allocations: 3.953 kB / 0.8819 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.00953, allocations: 89.58 kB / 0.882 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.009531, allocations: 0 / 0.882 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.009535, allocations: 0 / 0.882 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.009542, allocations: 7.922 kB / 0.882 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.009673, allocations: 117.3 kB / 0.8821 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.009674, allocations: 3.938 kB / 0.8821 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.009783, allocations: 15.98 kB / 0.8821 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.009788, allocations: 4 kB / 0.8821 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.009795, allocations: 4 kB / 0.8821 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.009797, allocations: 0 / 0.8821 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.009797, allocations: 0 / 0.8821 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.009964, allocations: 97 kB / 0.8822 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.01002, allocations: 15.94 kB / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.01003, allocations: 0 / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.658e-05/0.01009, allocations: 0 / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.01011, allocations: 7.984 kB / 0.8822 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.01012, allocations: 0 / 0.8822 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.231e-05/0.01017, allocations: 79.28 kB / 0.8823 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01017, allocations: 0 / 0.8823 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000203/0.01037, allocations: 20.03 kB / 0.8823 GB, free: 1.457 MB / 0.8386 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.000146/0.01052, allocations: 95.25 kB / 0.8824 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.01065, allocations: 35.92 kB / 0.8824 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01065, allocations: 0 / 0.8824 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.01069, allocations: 19.98 kB / 0.8825 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.01096, allocations: 22.05 kB / 0.8825 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.01133, allocations: 128.7 kB / 0.8826 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.771e-05/0.0114, allocations: 67.2 kB / 0.8827 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.794e-05/0.01146, allocations: 7.984 kB / 0.8827 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.0115, allocations: 8.5 kB / 0.8827 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/0.0115, allocations: 0 / 0.8827 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of Templates: time 0.003263/0.01476, allocations: 0.7071 MB / 0.8834 GB, free: 360 kB / 0.8386 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.064040969009511]