Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.001862/0.001862, allocations: 84.73 kB / 19.44 MB, free: 352 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.002343/0.002343, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.466/1.466, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.181/3.181, allocations: 429.6 MB / 0.673 GB, free: 3.887 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.212e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.003018/0.00305, allocations: 1.304 MB / 0.8789 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.004956, allocations: 0.8524 MB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.004983, allocations: 0 / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.005005, allocations: 7.984 kB / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/0.00505, allocations: 0 / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008413/0.005892, allocations: 209.1 kB / 0.8799 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.636e-05/0.005968, allocations: 23.88 kB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.006006, allocations: 0 / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.006078, allocations: 7.984 kB / 0.8799 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.006129, allocations: 5.531 kB / 0.8799 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.006146, allocations: 4 kB / 0.8799 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.006657, allocations: 231.5 kB / 0.8802 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.006673, allocations: 8 kB / 0.8802 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.006705, allocations: 9.359 kB / 0.8802 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.007132, allocations: 187.6 kB / 0.8804 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.007136, allocations: 0 / 0.8804 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.223e-06/0.007137, allocations: 3.938 kB / 0.8804 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.007142, allocations: 4 kB / 0.8804 GB, free: 3.66 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004988/0.007641, allocations: 294 kB / 0.8806 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.007683, allocations: 8.031 kB / 0.8806 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003271/0.00801, allocations: 24.86 kB / 0.8807 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.008366, allocations: 105.8 kB / 0.8808 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.008382, allocations: 8.359 kB / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.008393, allocations: 384 / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.008548, allocations: 71.89 kB / 0.8808 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.008559, allocations: 7.938 kB / 0.8809 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.00857, allocations: 0 / 0.8809 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.008577, allocations: 4 kB / 0.8809 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/0.008637, allocations: 15.98 kB / 0.8809 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.008813, allocations: 101.3 kB / 0.881 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009669/0.00978, allocations: 134.5 kB / 0.8811 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.009828, allocations: 20.92 kB / 0.8811 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.687e-05/0.009925, allocations: 15.94 kB / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.009961, allocations: 34.55 kB / 0.8812 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.009962, allocations: 0 / 0.8812 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.00021/0.01017, allocations: 61.62 kB / 0.8812 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.01022, allocations: 55.41 kB / 0.8813 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.01031, allocations: 93.86 kB / 0.8814 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.01033, allocations: 25.7 kB / 0.8814 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.01038, allocations: 80.14 kB / 0.8815 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.01042, allocations: 19.83 kB / 0.8815 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.01046, allocations: 25.78 kB / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.01063, allocations: 310.8 kB / 0.8818 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.043e-05/0.01067, allocations: 15.92 kB / 0.8818 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/0.01069, allocations: 4 kB / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.534e-05/0.01076, allocations: 24.86 kB / 0.8819 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01076, allocations: 0 / 0.8819 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001138/0.01087, allocations: 61.62 kB / 0.8819 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.01089, allocations: 10.5 kB / 0.8819 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.0109, allocations: 4 kB / 0.8819 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.01091, allocations: 3.938 kB / 0.8819 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.01098, allocations: 8 kB / 0.8819 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.01098, allocations: 11.94 kB / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.01102, allocations: 336 / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.01102, allocations: 0 / 0.8819 GB, free: 1.855 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 (4): * Single equations (assignments): 4 * 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.000103/0.01112, allocations: 109.8 kB / 0.8821 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.01114, allocations: 3.984 kB / 0.8821 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.01143, allocations: 89.12 kB / 0.8821 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.01143, allocations: 3.938 kB / 0.8821 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01144, allocations: 0 / 0.8821 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.01144, allocations: 0 / 0.8821 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.01157, allocations: 105.3 kB / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01157, allocations: 0 / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.01163, allocations: 7.984 kB / 0.8823 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.01164, allocations: 4 kB / 0.8823 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.01164, allocations: 3.938 kB / 0.8823 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01164, allocations: 0 / 0.8823 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.01165, allocations: 3.938 kB / 0.8823 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.0118, allocations: 93.08 kB / 0.8824 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.01183, allocations: 7.984 kB / 0.8824 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.01185, allocations: 0 / 0.8824 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.268e-05/0.0119, allocations: 4 kB / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.01192, allocations: 3.938 kB / 0.8824 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.01193, allocations: 4 kB / 0.8824 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.783e-05/0.01197, allocations: 75.28 kB / 0.8824 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01197, allocations: 0 / 0.8824 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002867/0.01226, allocations: 59.8 kB / 0.8825 GB, free: 1.219 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 (5): * Single equations (assignments): 5 * 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.0003578/0.01262, allocations: 171.2 kB / 0.8827 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.01273, allocations: 28.05 kB / 0.8827 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.01273, allocations: 4 kB / 0.8827 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-05/0.01277, allocations: 15.98 kB / 0.8827 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.01297, allocations: 8.516 kB / 0.8827 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.01334, allocations: 116.7 kB / 0.8828 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.2e-05/0.01342, allocations: 67.2 kB / 0.8829 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.358e-05/0.01349, allocations: 12 kB / 0.8829 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.01353, allocations: 16.48 kB / 0.8829 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/0.01353, allocations: 0 / 0.8829 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of Templates: time 0.004704/0.01824, allocations: 1.239 MB / 0.8841 GB, free: 15.51 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.055989467073232]