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.001134/0.001134, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001621/0.002754, allocations: 440 kB / 10.41 MB, free: 284 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.001081/0.001081, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001443/0.002523, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9861/0.9861, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08612/1.072, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.301/2.301, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2355/2.537, allocations: 146 MB / 0.8176 GB, free: 3.82 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.723e-06/1.723e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.563e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001827/0.001843, allocations: 1.61 MB / 0.8205 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001804/0.002023, allocations: 131.5 kB / 0.8206 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.002062, allocations: 0 / 0.8206 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.002084, allocations: 3.938 kB / 0.8206 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.939e-05/0.002114, allocations: 7.922 kB / 0.8206 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.002285, allocations: 75.75 kB / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.144e-05/0.002376, allocations: 55.86 kB / 0.8207 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.139e-05/0.002457, allocations: 15.97 kB / 0.8208 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.002537, allocations: 35.97 kB / 0.8208 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.002587, allocations: 19.91 kB / 0.8208 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.002611, allocations: 8 kB / 0.8208 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.002622, allocations: 4 kB / 0.8208 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.002646, allocations: 11.94 kB / 0.8208 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.002666, allocations: 12 kB / 0.8208 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.511e-05/0.002761, allocations: 47.77 kB / 0.8209 GB, free: 472 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.002773, allocations: 0 / 0.8209 GB, free: 472 kB / 0.7917 GB Notification: Performance of FrontEnd: time 4.5e-07/0.002774, allocations: 0 / 0.8209 GB, free: 472 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.002786, allocations: 0 / 0.8209 GB, free: 472 kB / 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.0004002/0.003187, allocations: 272.5 kB / 0.8212 GB, free: 172 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.003217, allocations: 12.02 kB / 0.8212 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.003252, allocations: 8.938 kB / 0.8212 GB, free: 152 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.583e-05/0.003338, allocations: 113.7 kB / 0.8213 GB, free: 12 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/0.003403, allocations: 59.97 kB / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.003416, allocations: 4.375 kB / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.003793, allocations: 100.6 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.003801, allocations: 192 / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.003811, allocations: 384 / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.003816, allocations: 4.125 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.097e-05/0.003837, allocations: 8 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.004135, allocations: 196.2 kB / 0.8216 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.861e-05/0.004184, allocations: 34.58 kB / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.578e-05/0.0042, allocations: 16.86 kB / 0.8217 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-06/0.004206, allocations: 0 / 0.8217 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.004228, allocations: 38.56 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.004229, allocations: 0 / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001017/0.004331, allocations: 53.64 kB / 0.8218 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.004352, allocations: 51.41 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.663e-05/0.004409, allocations: 118.6 kB / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.004421, allocations: 33.7 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.004451, allocations: 84.08 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.004464, allocations: 15.89 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.004489, allocations: 21.7 kB / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.789e-05/0.004557, allocations: 314.8 kB / 0.8224 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-06/0.004566, allocations: 4 kB / 0.8224 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.004583, allocations: 17.72 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.004612, allocations: 25.88 kB / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.004614, allocations: 3.938 kB / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 4.718e-05/0.004661, allocations: 45.69 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.004673, allocations: 13.38 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.004677, allocations: 3.984 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.00469, allocations: 4 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.659e-05/0.004746, allocations: 11.94 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.004749, allocations: 0 / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.004769, allocations: 8 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-06/0.004772, allocations: 0 / 0.8225 GB, free: 14.61 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 4.909e-05/0.004821, allocations: 113.8 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.004833, allocations: 0 / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.079e-05/0.004854, allocations: 15.94 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.004856, allocations: 4 kB / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.004857, allocations: 0 / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.004859, allocations: 0 / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.552e-05/0.004945, allocations: 77.83 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.004945, allocations: 0 / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.004967, allocations: 11.98 kB / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.004972, allocations: 7.938 kB / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.004972, allocations: 0 / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.004977, allocations: 3.938 kB / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.004977, allocations: 0 / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.004979, allocations: 8 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.728e-05/0.005046, allocations: 139.5 kB / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.044e-06/0.005053, allocations: 0 / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.663e-05/0.0051, allocations: 7.984 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.005126, allocations: 8.062 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-06/0.005134, allocations: 11.92 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.278e-05/0.005147, allocations: 12.84 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.005147, allocations: 0 / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001172/0.005264, allocations: 12 kB / 0.8229 GB, free: 14.13 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 6.705e-05/0.005331, allocations: 80.42 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.866e-05/0.00539, allocations: 20.84 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.005396, allocations: 4 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.304e-05/0.005419, allocations: 16.8 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.005573, allocations: 71.33 kB / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.005957, allocations: 136.5 kB / 0.8232 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.107e-05/0.005988, allocations: 59.34 kB / 0.8233 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.617e-05/0.006014, allocations: 8.094 kB / 0.8233 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.528e-05/0.006089, allocations: 67.34 kB / 0.8234 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of SimCode: time 6.02e-07/0.00609, allocations: 0 / 0.8234 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of Templates: time 0.00214/0.00823, allocations: 0.932 MB / 0.8243 GB, free: 12.68 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.014099949039519]