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.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001408/0.001408, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001402/0.001402, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.778/2.778, allocations: 436.5 MB / 0.7104 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 8 kB / 0.8707 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8071/0.8075, allocations: 153.7 MB / 1.021 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001766/0.8093, allocations: 1.2 MB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002879/0.8096, allocations: 111.7 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.8097, allocations: 4 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.8097, allocations: 3.984 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.822e-05/0.8098, allocations: 3.984 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.8101, allocations: 63.84 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.129e-05/0.8102, allocations: 31.91 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.8103, allocations: 15.98 kB / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.557e-05/0.8104, allocations: 27.91 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.012e-05/0.8104, allocations: 19.92 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.8105, allocations: 0 / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.8105, allocations: 4 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.8105, allocations: 3.984 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.8106, allocations: 37.64 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.783e-05/0.8106, allocations: 35.92 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.8106, allocations: 0 / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8106, allocations: 0 / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.8107, allocations: 0 / 1.022 GB, free: 15.56 MB / 0.7794 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.0005069/0.8112, allocations: 369.2 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.8112, allocations: 8.031 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.8113, allocations: 7.906 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.8114, allocations: 171 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/0.8115, allocations: 33.66 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.8115, allocations: 12 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.8117, allocations: 77.59 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.8118, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.8118, allocations: 7.938 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.8118, allocations: 7.938 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.812, allocations: 51.95 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.8127, allocations: 328.7 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.8128, allocations: 62.47 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.8129, allocations: 0 / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.8129, allocations: 30.56 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.8129, allocations: 4 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003875/0.8133, allocations: 113.6 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.8133, allocations: 55.41 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.427e-05/0.8134, allocations: 113.9 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.8135, allocations: 29.7 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.8135, allocations: 88.12 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.8135, allocations: 15.75 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.8136, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.8137, allocations: 322.8 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/0.8138, allocations: 31.92 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.8139, allocations: 41.7 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.717e-05/0.814, allocations: 27.97 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.814, allocations: 4 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002289/0.8142, allocations: 97.59 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.8143, allocations: 4 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.8143, allocations: 0 / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.8143, allocations: 0 / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.8144, allocations: 20.02 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.8144, allocations: 4 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.8145, allocations: 11.89 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.8145, allocations: 4 kB / 1.024 GB, free: 13.22 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.926e-05/0.8146, allocations: 113.8 kB / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.8146, allocations: 4 kB / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.8147, allocations: 11.91 kB / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.8147, allocations: 0 / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.8147, allocations: 0 / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.8147, allocations: 4 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.8149, allocations: 173.6 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.8149, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.517e-05/0.8149, allocations: 15.98 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.815, allocations: 3.938 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.815, allocations: 128 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.815, allocations: 7.938 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.815, allocations: 7.938 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.8153, allocations: 187.4 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.8153, allocations: 85.09 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.8153, allocations: 4 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.8155, allocations: 15.98 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.8155, allocations: 0 / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.8155, allocations: 8 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.8156, allocations: 83.27 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8156, allocations: 0 / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002298/0.8158, allocations: 12 kB / 1.025 GB, free: 12.4 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001074/0.8159, allocations: 99.25 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002612/0.8162, allocations: 64.17 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8162, allocations: 0 / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.8163, allocations: 40.11 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.8165, allocations: 7.953 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.8168, allocations: 148.5 kB / 1.025 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.8172, allocations: 0.6926 MB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.465e-05/0.8172, allocations: 4 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.8173, allocations: 11.44 kB / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.8173, allocations: 0 / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of Templates: time 0.003219/0.8205, allocations: 0.6859 MB / 1.027 GB, free: 10.61 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches