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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 108.9 kB / 16.27 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 188.1 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.748/2.748, allocations: 469.8 MB / 0.743 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 59.44 kB / 0.9092 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3846, allocations: 159.1 MB / 1.065 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003187/0.3879, allocations: 1.497 MB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003549/0.3883, allocations: 123.6 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.3883, allocations: 8 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.3884, allocations: 3.938 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.91e-05/0.3885, allocations: 3.938 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.3888, allocations: 79.39 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.389, allocations: 59.84 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3891, allocations: 15.97 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.905e-05/0.3892, allocations: 27.92 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.252e-05/0.3892, allocations: 31.91 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.3893, allocations: 4 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.015e-05/0.3893, allocations: 4 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.223e-05/0.3893, allocations: 15.92 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.3894, allocations: 23.86 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.3895, allocations: 55.84 kB / 1.067 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3895, allocations: 0 / 1.067 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3895, allocations: 0 / 1.067 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3895, allocations: 0 / 1.067 GB, free: 12.79 MB / 0.8419 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.0006426/0.3902, allocations: 371.7 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3902, allocations: 8.031 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.3903, allocations: 8.844 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.3905, allocations: 176.2 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.294e-05/0.3906, allocations: 30.27 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.3906, allocations: 4.375 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.3908, allocations: 70.22 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3908, allocations: 3.938 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.3909, allocations: 8 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3909, allocations: 4 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.3911, allocations: 39.95 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006569/0.3917, allocations: 324.6 kB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.3919, allocations: 50.55 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.392, allocations: 28.94 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.392, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3921, allocations: 42.48 kB / 1.068 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.3921, allocations: 0 / 1.068 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.000395/0.3925, allocations: 105.5 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.3925, allocations: 51.41 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3926, allocations: 109.8 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.3927, allocations: 25.7 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.3927, allocations: 88.08 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.3928, allocations: 15.8 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.3928, allocations: 21.72 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.393, allocations: 322.8 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.65e-05/0.3931, allocations: 23.97 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3932, allocations: 37.7 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.3934, allocations: 61.61 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3934, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002314/0.3936, allocations: 89.53 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3936, allocations: 4 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3937, allocations: 0 / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3937, allocations: 4.234 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3938, allocations: 11.98 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3938, allocations: 4.031 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.3939, allocations: 11.89 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.3939, allocations: 4 kB / 1.069 GB, free: 10.43 MB / 0.8419 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 0.0001154/0.394, allocations: 120 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.394, allocations: 3.984 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.3941, allocations: 7.906 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3941, allocations: 4 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3941, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3941, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.3943, allocations: 177.6 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3943, allocations: 0 / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.099e-05/0.3944, allocations: 15.98 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3944, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.3944, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3944, allocations: 3.938 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3944, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.3947, allocations: 187.3 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.3948, allocations: 84.98 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3948, allocations: 0 / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3949, allocations: 11.98 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.395, allocations: 4 kB / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.395, allocations: 7.984 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.652e-05/0.395, allocations: 83.59 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3951, allocations: 0 / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002196/0.3953, allocations: 12 kB / 1.069 GB, free: 9.621 MB / 0.8419 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.0001274/0.3954, allocations: 95.25 kB / 1.069 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.3957, allocations: 59.83 kB / 1.069 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3957, allocations: 0 / 1.069 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.278e-05/0.3958, allocations: 27.97 kB / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.3961, allocations: 12.19 kB / 1.069 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.3965, allocations: 159.2 kB / 1.07 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.3968, allocations: 0.6807 MB / 1.07 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.3969, allocations: 11.44 kB / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.3969, allocations: 3.938 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of Templates: time 0.002565/0.3995, allocations: 0.856 MB / 1.071 GB, free: 7.664 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches