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.001788/0.001788, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001418/0.001418, allocations: 219.9 kB / 23.01 MB, free: 4.609 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.195/3.195, allocations: 0.49 GB / 0.7958 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.00205/0.00205, allocations: 65.78 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3904, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003039/0.3935, allocations: 1.534 MB / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0003629/0.3938, allocations: 127.6 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.3939, allocations: 3.938 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/0.3939, allocations: 7.922 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.287e-05/0.394, allocations: 3.938 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.3943, allocations: 75.89 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.3945, allocations: 59.83 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3946, allocations: 11.98 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.3946, allocations: 27.92 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.595e-05/0.3947, allocations: 19.92 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.3947, allocations: 4 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.483e-05/0.3948, allocations: 7.938 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.372e-05/0.3948, allocations: 19.97 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.3948, allocations: 23.86 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.395, allocations: 55.8 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.395, allocations: 4 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.395, allocations: 0 / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.395, allocations: 0 / 1.329 GB, free: 15.5 MB / 1.029 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.0006787/0.3957, allocations: 302.1 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3957, allocations: 11.97 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.3957, allocations: 8.891 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3959, allocations: 118.4 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.396, allocations: 67.91 kB / 1.33 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.396, allocations: 4.375 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.3962, allocations: 66.22 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3962, allocations: 7.938 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.3962, allocations: 7.984 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3962, allocations: 0 / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.3964, allocations: 43.95 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.3971, allocations: 295.8 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.3972, allocations: 42.55 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.44e-05/0.3973, allocations: 24.94 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.3973, allocations: 7.984 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.3974, allocations: 38.56 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3974, allocations: 0 / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000369/0.3977, allocations: 97.58 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.3978, allocations: 51.41 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.3979, allocations: 105.8 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.398, allocations: 33.7 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.398, allocations: 92.08 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.3981, allocations: 19.84 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.3981, allocations: 13.72 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3983, allocations: 318.8 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-05/0.3984, allocations: 23.97 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.02e-05/0.3985, allocations: 33.7 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.3986, allocations: 61.61 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3986, allocations: 4 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002062/0.3988, allocations: 77.66 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3989, allocations: 4 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3989, allocations: 4.031 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3989, allocations: 3.938 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.399, allocations: 16.22 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.399, allocations: 320 / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.779e-05/0.399, allocations: 11.94 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3991, allocations: 4 kB / 1.331 GB, free: 13.31 MB / 1.029 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.293e-05/0.3991, allocations: 118.2 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.3992, allocations: 7.984 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.3992, allocations: 12 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3992, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3992, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3992, allocations: 4 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.3994, allocations: 144.8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3994, allocations: 4 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.3995, allocations: 11.98 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3995, allocations: 3.938 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3995, allocations: 8 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3995, allocations: 0 / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3995, allocations: 4 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.3998, allocations: 179.3 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-06/0.3998, allocations: 4 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.3998, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.3999, allocations: 15.98 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.3999, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.4, allocations: 11.98 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.975e-05/0.4, allocations: 87.27 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4, allocations: 0 / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002192/0.4002, allocations: 11.95 kB / 1.332 GB, free: 12.62 MB / 1.029 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.0001216/0.4004, allocations: 95.25 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.4006, allocations: 55.83 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4006, allocations: 4.062 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.523e-05/0.4007, allocations: 27.97 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.401, allocations: 8 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.4014, allocations: 155.3 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.4018, allocations: 0.6846 MB / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.4018, allocations: 7.438 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4018, allocations: 7.938 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of Templates: time 0.00253/0.4044, allocations: 0.8539 MB / 1.333 GB, free: 10.66 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.17318860301748]