Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007827/0.0007827, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.001887, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007409/0.0007409, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009817/0.001723, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9581/0.9581, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09457/1.053, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.938/1.938, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5116/2.45, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.68e-05, allocations: 4 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002474/0.002501, allocations: 1.596 MB / 0.7309 GB, free: 2.965 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002683/0.00277, allocations: 132.1 kB / 0.731 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.002809, allocations: 0.6562 kB / 0.731 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.002835, allocations: 6.25 kB / 0.731 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.233e-05/0.002877, allocations: 14.33 kB / 0.731 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.003112, allocations: 67.77 kB / 0.7311 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.003228, allocations: 61.03 kB / 0.7311 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.956e-05/0.003317, allocations: 13.94 kB / 0.7312 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.649e-05/0.003414, allocations: 46.69 kB / 0.7312 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.003477, allocations: 18.16 kB / 0.7312 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.003504, allocations: 8 kB / 0.7312 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.003517, allocations: 4 kB / 0.7312 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.003542, allocations: 10.69 kB / 0.7312 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.003569, allocations: 11.38 kB / 0.7313 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.003685, allocations: 42.25 kB / 0.7313 GB, free: 2.566 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.835e-05/0.003703, allocations: 0 / 0.7313 GB, free: 2.566 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.272e-06/0.003704, allocations: 0 / 0.7313 GB, free: 2.566 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.00372, allocations: 0.6875 kB / 0.7313 GB, free: 2.566 MB / 0.698 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.0004198/0.00414, allocations: 270.3 kB / 0.7316 GB, free: 2.277 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.004173, allocations: 8.031 kB / 0.7316 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.004206, allocations: 4.938 kB / 0.7316 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.387e-05/0.0043, allocations: 133.6 kB / 0.7317 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-05/0.004366, allocations: 59.95 kB / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.004379, allocations: 5.188 kB / 0.7318 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.004521, allocations: 93.14 kB / 0.7318 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.004528, allocations: 0.8125 kB / 0.7318 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.004537, allocations: 384 / 0.7318 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.004544, allocations: 4.812 kB / 0.7319 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.286e-05/0.004577, allocations: 11.98 kB / 0.7319 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.004922, allocations: 193.9 kB / 0.732 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.332e-05/0.004975, allocations: 22.58 kB / 0.7321 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.004996, allocations: 12.94 kB / 0.7321 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.005005, allocations: 4.594 kB / 0.7321 GB, free: 1.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.005027, allocations: 31.56 kB / 0.7321 GB, free: 1.621 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.624e-06/0.005029, allocations: 0 / 0.7321 GB, free: 1.621 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001215/0.00515, allocations: 53.56 kB / 0.7322 GB, free: 1.562 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.005177, allocations: 51.94 kB / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.88e-05/0.005246, allocations: 115.9 kB / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.005261, allocations: 25.7 kB / 0.7324 GB, free: 1.344 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.005299, allocations: 92.06 kB / 0.7324 GB, free: 1.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.005314, allocations: 12.61 kB / 0.7325 GB, free: 1.238 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003067/0.008382, allocations: 21.72 kB / 0.7325 GB, free: 1.211 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.008493, allocations: 315.4 kB / 0.7328 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.008511, allocations: 4.938 kB / 0.7328 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.771e-05/0.008539, allocations: 17.7 kB / 0.7328 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.171e-05/0.008591, allocations: 26.53 kB / 0.7328 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.008595, allocations: 3.938 kB / 0.7328 GB, free: 0.832 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.669e-05/0.008691, allocations: 55.34 kB / 0.7329 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.00871, allocations: 11.94 kB / 0.7329 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.008719, allocations: 4 kB / 0.7329 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.008733, allocations: 0.6562 kB / 0.7329 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.008841, allocations: 16 kB / 0.7329 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.008845, allocations: 1.719 kB / 0.7329 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.008877, allocations: 11.94 kB / 0.7329 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.008881, allocations: 0 / 0.7329 GB, free: 0.7305 MB / 0.698 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 8.302e-05/0.008965, allocations: 105.8 kB / 0.733 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.00899, allocations: 4.719 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.009022, allocations: 11.94 kB / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.009026, allocations: 5.062 kB / 0.733 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.009029, allocations: 0 / 0.733 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.009034, allocations: 3.984 kB / 0.733 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.00917, allocations: 70.77 kB / 0.7331 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.009172, allocations: 0 / 0.7331 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.905e-05/0.009221, allocations: 16.64 kB / 0.7331 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.009232, allocations: 7.938 kB / 0.7331 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.009235, allocations: 1 kB / 0.7331 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.009243, allocations: 7.938 kB / 0.7331 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.009244, allocations: 0.7812 kB / 0.7331 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.009246, allocations: 0 / 0.7331 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.009359, allocations: 139.5 kB / 0.7333 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.009371, allocations: 5.172 kB / 0.7333 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.009447, allocations: 4 kB / 0.7333 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.009485, allocations: 8.953 kB / 0.7333 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.009495, allocations: 4 kB / 0.7333 GB, free: 308 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.035e-05/0.009515, allocations: 12.86 kB / 0.7333 GB, free: 292 kB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.009515, allocations: 0.5625 kB / 0.7333 GB, free: 292 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001799/0.009695, allocations: 8 kB / 0.7333 GB, free: 284 kB / 0.698 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 0.000138/0.009833, allocations: 86.12 kB / 0.7334 GB, free: 192 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.277e-05/0.009926, allocations: 16.86 kB / 0.7334 GB, free: 172 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/0.009936, allocations: 0 / 0.7334 GB, free: 172 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.736e-05/0.009963, allocations: 22.06 kB / 0.7334 GB, free: 148 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.01019, allocations: 11.94 kB / 0.7335 GB, free: 136 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.01069, allocations: 149.8 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.332e-05/0.01074, allocations: 59.34 kB / 0.7336 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.752e-05/0.01078, allocations: 5.188 kB / 0.7337 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.665e-05/0.01087, allocations: 68.34 kB / 0.7337 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of SimCode: time 7.32e-07/0.01087, allocations: 0 / 0.7337 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of Templates: time 0.006046/0.01692, allocations: 0.9246 MB / 0.7346 GB, free: 14.93 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir/Buildings_12_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.008485876955092]