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.001399/0.001399, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.001565/0.001565, allocations: 214.6 kB / 22.25 MB, free: 5.129 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.973 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.143/3.143, allocations: 0.49 GB / 0.7951 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 177] 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.002103/0.002103, allocations: 67.44 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3674, allocations: 176.1 MB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002999/0.3704, allocations: 1.534 MB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0003871/0.3708, allocations: 131.6 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/0.3709, allocations: 4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.3709, allocations: 7.938 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.867e-05/0.371, allocations: 3.938 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.3713, allocations: 63.89 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.3714, allocations: 55.84 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3716, allocations: 19.98 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.123e-05/0.3716, allocations: 27.91 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.742e-05/0.3717, allocations: 23.86 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.3717, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.768e-05/0.3717, allocations: 12 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.3718, allocations: 7.984 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.3718, allocations: 31.86 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.3719, allocations: 47.8 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3719, allocations: 4 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3719, allocations: 7.875 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3719, allocations: 0 / 1.328 GB, free: 15.46 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.0005624/0.3725, allocations: 302.1 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3725, allocations: 16.03 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.3726, allocations: 8.891 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.3727, allocations: 114.4 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-05/0.3728, allocations: 59.95 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.3728, allocations: 8.375 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.373, allocations: 78.19 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3731, allocations: 3.938 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3731, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3731, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.3733, allocations: 51.95 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006592/0.3739, allocations: 283.8 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.374, allocations: 46.55 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.706e-05/0.3741, allocations: 36.92 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.3742, allocations: 0 / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.3742, allocations: 30.56 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.3742, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003938/0.3746, allocations: 97.58 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.3746, allocations: 55.41 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.3747, allocations: 117.8 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.3747, allocations: 25.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.3748, allocations: 96.08 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.3748, allocations: 11.84 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.3749, allocations: 17.72 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.375, allocations: 318.8 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.069e-05/0.3751, allocations: 23.98 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.3752, allocations: 41.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.3754, allocations: 57.61 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3754, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002182/0.3756, allocations: 89.59 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3756, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3756, allocations: 4 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3756, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.3758, allocations: 11.98 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3758, allocations: 7.938 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.182e-05/0.3758, allocations: 11.94 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.3758, allocations: 0 / 1.33 GB, free: 13.26 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.741e-05/0.3759, allocations: 122.3 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.376, allocations: 0 / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.376, allocations: 12 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.376, allocations: 4.172 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.376, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.376, allocations: 7.969 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.3762, allocations: 148.7 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3762, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.3763, allocations: 11.98 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3763, allocations: 4 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.3763, allocations: 3.938 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3763, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3763, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.3766, allocations: 183.4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-06/0.3766, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.3766, allocations: 4 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3767, allocations: 11.98 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.3768, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.3768, allocations: 11.98 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.01e-05/0.3768, allocations: 83.28 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3768, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000239/0.3771, allocations: 15.95 kB / 1.331 GB, free: 12.57 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.0001215/0.3772, allocations: 95.23 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.3774, allocations: 59.83 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3774, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.697e-05/0.3775, allocations: 19.98 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.3778, allocations: 5.562 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.3782, allocations: 137.5 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.3786, allocations: 0.6846 MB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.739e-05/0.3786, allocations: 4 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.3786, allocations: 7.438 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3786, allocations: 7.938 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of Templates: time 0.003618/0.3822, allocations: 0.834 MB / 1.333 GB, free: 10.67 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/jenkins/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: 8.824240372981876]