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.002414/0.002414, allocations: 85.48 kB / 19.44 MB, free: 340 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.002854/0.002854, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.681/1.681, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.387/3.387, allocations: 429.5 MB / 0.6729 GB, free: 4.02 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.663e-06/1.663e-06, allocations: 0 / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.558e-05, allocations: 4.125 kB / 0.8775 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.003735/0.003771, allocations: 1.317 MB / 0.8787 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.005878, allocations: 0.7892 MB / 0.8795 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.005908, allocations: 4 kB / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.005932, allocations: 3.984 kB / 0.8795 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.006004, allocations: 3.938 kB / 0.8795 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007865/0.00679, allocations: 171.7 kB / 0.8797 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.006895, allocations: 25.53 kB / 0.8797 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.006948, allocations: 11.97 kB / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.319e-05/0.007021, allocations: 8 kB / 0.8797 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.624e-05/0.007087, allocations: 11.98 kB / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.007102, allocations: 0.5 kB / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005382/0.00764, allocations: 163.7 kB / 0.8799 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.007663, allocations: 9.094 kB / 0.8799 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.0077, allocations: 15.91 kB / 0.8799 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004736/0.008173, allocations: 165.1 kB / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.008177, allocations: 0 / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.193e-06/0.008178, allocations: 0 / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.008182, allocations: 0 / 0.8801 GB, free: 3.992 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.0006896/0.008872, allocations: 403.8 kB / 0.8805 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.00892, allocations: 12.03 kB / 0.8805 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.01007, allocations: 60.67 kB / 0.8805 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.01021, allocations: 108.6 kB / 0.8806 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.01023, allocations: 4.375 kB / 0.8806 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.01025, allocations: 4.375 kB / 0.8806 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.01052, allocations: 75.95 kB / 0.8807 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.01053, allocations: 192 / 0.8807 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.01055, allocations: 384 / 0.8807 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.01055, allocations: 384 / 0.8807 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.01067, allocations: 31.91 kB / 0.8807 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.01094, allocations: 120.6 kB / 0.8809 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.01116, allocations: 67.08 kB / 0.8809 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.01124, allocations: 31.72 kB / 0.881 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.01127, allocations: 0 / 0.881 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.698e-05/0.01132, allocations: 37.39 kB / 0.881 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.01133, allocations: 4 kB / 0.881 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003414/0.01167, allocations: 81.61 kB / 0.8811 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.01174, allocations: 51.41 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.01191, allocations: 157.9 kB / 0.8813 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.01194, allocations: 29.7 kB / 0.8813 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.61e-05/0.01204, allocations: 126.9 kB / 0.8814 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/0.01209, allocations: 23.77 kB / 0.8814 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.01216, allocations: 27.38 kB / 0.8815 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003584/0.01252, allocations: 492.1 kB / 0.8819 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.354e-05/0.01257, allocations: 15.98 kB / 0.882 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.982e-05/0.01261, allocations: 16.12 kB / 0.882 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.01273, allocations: 35.67 kB / 0.882 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01273, allocations: 4.375 kB / 0.882 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001855/0.01292, allocations: 69.62 kB / 0.8821 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.01294, allocations: 4 kB / 0.8821 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.01294, allocations: 0 / 0.8821 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.01296, allocations: 0 / 0.8821 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.01315, allocations: 19.98 kB / 0.8821 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.01315, allocations: 3.938 kB / 0.8821 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.596e-05/0.01321, allocations: 7.938 kB / 0.8821 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.01322, allocations: 0 / 0.8821 GB, free: 1.695 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.000166/0.01339, allocations: 160.6 kB / 0.8823 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.01341, allocations: 7.953 kB / 0.8823 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.01372, allocations: 89.55 kB / 0.8824 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.96e-05/0.01376, allocations: 4 kB / 0.8824 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.01376, allocations: 0 / 0.8824 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.01377, allocations: 3.938 kB / 0.8824 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.01395, allocations: 124.6 kB / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.01395, allocations: 0 / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.0141, allocations: 15.98 kB / 0.8825 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.0141, allocations: 0 / 0.8825 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.01411, allocations: 0 / 0.8825 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.01412, allocations: 4 kB / 0.8825 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01412, allocations: 0 / 0.8825 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.01439, allocations: 120.2 kB / 0.8826 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.01444, allocations: 7.938 kB / 0.8826 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.01446, allocations: 0 / 0.8826 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.956e-05/0.01454, allocations: 8 kB / 0.8826 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.01457, allocations: 7.984 kB / 0.8826 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.01458, allocations: 4 kB / 0.8826 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.11e-05/0.01467, allocations: 119.2 kB / 0.8828 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01467, allocations: 0 / 0.8828 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003441/0.01502, allocations: 11.94 kB / 0.8828 GB, free: 0.9492 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.0001774/0.01519, allocations: 99.25 kB / 0.8829 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001976/0.01539, allocations: 47.59 kB / 0.8829 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01539, allocations: 0 / 0.8829 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.617e-05/0.01547, allocations: 31.67 kB / 0.8829 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.01577, allocations: 16.28 kB / 0.883 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.01625, allocations: 130.4 kB / 0.8831 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.813e-05/0.01634, allocations: 67.2 kB / 0.8831 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.568e-05/0.01641, allocations: 7.938 kB / 0.8831 GB, free: 500 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.01647, allocations: 16.5 kB / 0.8832 GB, free: 484 kB / 0.8386 GB Notification: Performance of SimCode: time 4.6e-07/0.01647, allocations: 0 / 0.8832 GB, free: 484 kB / 0.8386 GB Notification: Performance of Templates: time 0.004832/0.0213, allocations: 0.7046 MB / 0.8839 GB, free: 15.8 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) [Timeout 240] 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.586178294033743]