Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001034/0.001034, allocations: 101.9 kB / 16.35 MB, free: 5.824 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.001868/0.001868, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.422/2.422, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 65.72 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.275, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002533/0.2776, allocations: 1.502 MB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000292/0.2779, allocations: 129.2 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.278, allocations: 0 / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.328e-05/0.278, allocations: 7.938 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.406e-05/0.2781, allocations: 11.86 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.2784, allocations: 62.91 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.2785, allocations: 67.78 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2786, allocations: 23.95 kB / 1.021 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.2787, allocations: 23.92 kB / 1.021 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.2787, allocations: 23.91 kB / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.2788, allocations: 4 kB / 1.021 GB, free: 8.008 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.2788, allocations: 12 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.2788, allocations: 11.92 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.2789, allocations: 31.84 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.279, allocations: 51.86 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.279, allocations: 0 / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.004e-06/0.279, allocations: 0 / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.279, allocations: 0 / 1.021 GB, free: 7.902 MB / 0.795 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.0004959/0.2795, allocations: 371.3 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.2796, allocations: 20.88 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.2796, allocations: 4.844 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.2797, allocations: 176.3 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/0.2798, allocations: 30.27 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.2798, allocations: 4.375 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.28, allocations: 70.22 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.28, allocations: 7.875 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.28, allocations: 7.984 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.28, allocations: 4 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.2802, allocations: 43.95 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.2808, allocations: 320.6 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.2809, allocations: 46.56 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.927e-05/0.281, allocations: 32.92 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.281, allocations: 0 / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.2811, allocations: 30.56 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2811, allocations: 0 / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0003307/0.2814, allocations: 101.6 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.2814, allocations: 51.41 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/0.2815, allocations: 109.8 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.2815, allocations: 29.7 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.2816, allocations: 100 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.2816, allocations: 11.81 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.2817, allocations: 21.72 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.2818, allocations: 318.8 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.57e-05/0.2818, allocations: 23.98 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.624e-05/0.2819, allocations: 37.69 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.2821, allocations: 57.81 kB / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2821, allocations: 3.938 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002023/0.2823, allocations: 85.64 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2823, allocations: 8 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.2824, allocations: 0 / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2824, allocations: 3.984 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.394e-05/0.2825, allocations: 12.06 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2825, allocations: 8 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.2825, allocations: 11.98 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.2826, allocations: 32 / 1.023 GB, free: 5.539 MB / 0.795 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 6.881e-05/0.2826, allocations: 117.8 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.2827, allocations: 7.906 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.2827, allocations: 11.89 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.2827, allocations: 0 / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2827, allocations: 0 / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2827, allocations: 0 / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.2829, allocations: 185.5 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2829, allocations: 0 / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.011e-05/0.283, allocations: 8 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.283, allocations: 4 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.283, allocations: 0 / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.283, allocations: 0 / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.283, allocations: 3.984 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.2832, allocations: 183.3 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.2833, allocations: 81.05 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.2833, allocations: 4 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2834, allocations: 11.98 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.2835, allocations: 3.984 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.2835, allocations: 4 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.86e-05/0.2835, allocations: 87.28 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2835, allocations: 0 / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002296/0.2838, allocations: 8 kB / 1.023 GB, free: 4.734 MB / 0.795 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.0001009/0.2839, allocations: 107.2 kB / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.2841, allocations: 55.83 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2841, allocations: 0 / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.258e-05/0.2842, allocations: 23.98 kB / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.2845, allocations: 6.406 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.2848, allocations: 141.6 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.285, allocations: 0.6807 MB / 1.024 GB, free: 3.664 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.684e-05/0.2851, allocations: 7.938 kB / 1.024 GB, free: 3.656 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.2851, allocations: 11.44 kB / 1.024 GB, free: 3.645 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.2851, allocations: 3.938 kB / 1.024 GB, free: 3.641 MB / 0.795 GB Notification: Performance of Templates: time 0.002782/0.2879, allocations: 0.7971 MB / 1.025 GB, free: 2.852 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches