Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.001147/0.001147, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001777/0.002924, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001204/0.001204, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001581/0.002785, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.022/1.022, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1016/1.124, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.477/2.477, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2724/2.749, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.143e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002408/0.002429, allocations: 1.607 MB / 0.8199 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002132/0.002642, allocations: 131.5 kB / 0.82 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.002679, allocations: 4 kB / 0.82 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.002704, allocations: 3.938 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.427e-05/0.002738, allocations: 11.91 kB / 0.82 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.002945, allocations: 67.78 kB / 0.8201 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.003047, allocations: 59.84 kB / 0.8201 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.003134, allocations: 11.98 kB / 0.8201 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.413e-05/0.003228, allocations: 43.89 kB / 0.8202 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.306e-05/0.003281, allocations: 11.98 kB / 0.8202 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.003041/0.006323, allocations: 8 kB / 0.8202 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.006337, allocations: 4 kB / 0.8202 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.006359, allocations: 11.94 kB / 0.8202 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.006387, allocations: 12 kB / 0.8202 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.006506, allocations: 39.78 kB / 0.8203 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.006521, allocations: 0 / 0.8203 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.81e-07/0.006522, allocations: 0 / 0.8203 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.006539, allocations: 4 kB / 0.8203 GB, free: 0.8594 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000415/0.006954, allocations: 272.5 kB / 0.8205 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.006987, allocations: 8.625 kB / 0.8205 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.007021, allocations: 12.92 kB / 0.8205 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.845e-05/0.00711, allocations: 113.7 kB / 0.8206 GB, free: 420 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.196e-05/0.007172, allocations: 59.97 kB / 0.8207 GB, free: 348 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.007184, allocations: 4.375 kB / 0.8207 GB, free: 344 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.007326, allocations: 108.5 kB / 0.8208 GB, free: 220 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.007332, allocations: 192 / 0.8208 GB, free: 220 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.007342, allocations: 384 / 0.8208 GB, free: 220 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.007349, allocations: 4.125 kB / 0.8208 GB, free: 216 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.856e-05/0.007377, allocations: 11.94 kB / 0.8208 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.007732, allocations: 188.3 kB / 0.821 GB, free: 16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.007789, allocations: 30.55 kB / 0.821 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.007809, allocations: 20.73 kB / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.007817, allocations: 0 / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.007838, allocations: 30.56 kB / 0.8211 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.007839, allocations: 0 / 0.8211 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001197/0.007959, allocations: 49.72 kB / 0.8211 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.007986, allocations: 51.41 kB / 0.8212 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.008061, allocations: 110.8 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.008075, allocations: 33.7 kB / 0.8213 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.008111, allocations: 100 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.008125, allocations: 11.91 kB / 0.8214 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.008159, allocations: 17.72 kB / 0.8214 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.233e-05/0.008242, allocations: 322.8 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.008254, allocations: 4 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/0.008273, allocations: 13.72 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.951e-05/0.008313, allocations: 25.7 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008315, allocations: 0 / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.826e-05/0.008383, allocations: 49.62 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.008396, allocations: 11.97 kB / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.0084, allocations: 0 / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.096e-06/0.008408, allocations: 0 / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/0.008484, allocations: 15.98 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.008488, allocations: 0 / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.419e-05/0.008512, allocations: 4 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.008518, allocations: 4 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 5.632e-05/0.008575, allocations: 113.8 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.008597, allocations: 3.984 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.008619, allocations: 11.94 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.00862, allocations: 8 kB / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.008622, allocations: 0 / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.008624, allocations: 3.938 kB / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.008733, allocations: 77.83 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008735, allocations: 0 / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.00877, allocations: 8 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-06/0.008779, allocations: 11.92 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.00878, allocations: 0 / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.008785, allocations: 3.938 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.008786, allocations: 0 / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008787, allocations: 4.125 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.286e-05/0.00888, allocations: 143.5 kB / 0.8222 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.128e-06/0.008889, allocations: 0 / 0.8222 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.008957, allocations: 11.92 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.008983, allocations: 4.219 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.008992, allocations: 4 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.738e-05/0.00901, allocations: 17.14 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.00901, allocations: 0 / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003179/0.01219, allocations: 12 kB / 0.8223 GB, free: 14.54 MB / 0.8073 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 (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 Backend phase and start with SimCode phase: time 9.395e-05/0.01228, allocations: 76.42 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.632e-05/0.01236, allocations: 32.83 kB / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.01237, allocations: 0 / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.951e-05/0.01239, allocations: 16.8 kB / 0.8224 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.01257, allocations: 16.22 kB / 0.8224 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.01297, allocations: 136.5 kB / 0.8226 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.366e-05/0.01302, allocations: 55.36 kB / 0.8226 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.718e-05/0.01305, allocations: 12.05 kB / 0.8226 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.01314, allocations: 63.34 kB / 0.8227 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.01314, allocations: 0 / 0.8227 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of Templates: time 0.002649/0.01579, allocations: 0.9206 MB / 0.8236 GB, free: 13.17 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.243922509253025]