Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001656/0.001656, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002209/0.002209, allocations: 214.3 kB / 22.25 MB, free: 4.859 MB / 14.72 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.676/1.676, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.823/2.823, allocations: 476 MB / 0.7699 GB, free: 4.812 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 70.12 kB / 1.117 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3077, allocations: 170 MB / 1.283 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002987/0.3107, allocations: 1.511 MB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003509/0.311, allocations: 131.6 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.3111, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.3111, allocations: 7.938 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.3112, allocations: 3.938 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.3115, allocations: 67.33 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.3116, allocations: 63.83 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3117, allocations: 15.98 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.463e-05/0.3118, allocations: 23.92 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.3119, allocations: 19.86 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.3119, allocations: 8 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.876e-05/0.3119, allocations: 8 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.778e-05/0.3119, allocations: 15.97 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.312, allocations: 19.92 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.3121, allocations: 59.72 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3121, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3121, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.3121, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 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.0005567/0.3127, allocations: 298.2 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3127, allocations: 12.03 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.3128, allocations: 4.938 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.3129, allocations: 126.4 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.195e-05/0.313, allocations: 55.97 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.313, allocations: 384 / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.3132, allocations: 99.92 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3133, allocations: 7.875 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3133, allocations: 0 / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3133, allocations: 4 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.3135, allocations: 47.95 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.3141, allocations: 260.3 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.3142, allocations: 42.56 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3143, allocations: 36.86 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.3143, allocations: 0 / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.3144, allocations: 34.56 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3144, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003766/0.3148, allocations: 97.58 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.3148, allocations: 51.41 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3149, allocations: 109.8 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.3149, allocations: 29.7 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.315, allocations: 97.88 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.315, allocations: 11.84 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.315, allocations: 21.72 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3152, allocations: 318.8 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-05/0.3153, allocations: 19.98 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.3154, allocations: 33.69 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.3156, allocations: 61.56 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3156, allocations: 0 / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002287/0.3158, allocations: 89.83 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3158, allocations: 10.48 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3158, allocations: 128 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.3158, allocations: 4 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3159, allocations: 19.98 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.3159, allocations: 3.984 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.649e-05/0.316, allocations: 7.953 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.316, allocations: 4 kB / 1.287 GB, free: 7.91 MB / 0.9825 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 9.364e-05/0.3161, allocations: 117.8 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.3161, allocations: 4 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.3162, allocations: 7.984 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3162, allocations: 0 / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3162, allocations: 0 / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3162, allocations: 4 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.3163, allocations: 121.2 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3163, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.121e-05/0.3164, allocations: 11.98 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3164, allocations: 0 / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.3164, allocations: 7.938 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3164, allocations: 0 / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3164, allocations: 7.875 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.3167, allocations: 179.4 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.3167, allocations: 4 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.3167, allocations: 3.984 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3168, allocations: 11.98 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.3169, allocations: 4 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.3169, allocations: 0 / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.901e-05/0.3169, allocations: 91.27 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.3169, allocations: 0 / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002332/0.3172, allocations: 12 kB / 1.287 GB, free: 7.273 MB / 0.9825 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.000113/0.3173, allocations: 97.64 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.3175, allocations: 51.89 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3175, allocations: 0 / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.656e-05/0.3176, allocations: 32.03 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.3179, allocations: 7.938 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.3183, allocations: 137.5 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.394e-05/0.3183, allocations: 71.33 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.095e-05/0.3184, allocations: 4 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.3184, allocations: 15.44 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3184, allocations: 4 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of Templates: time 0.003333/0.3218, allocations: 0.8501 MB / 1.289 GB, free: 5.977 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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: 9.052043050527573]