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.001505/0.001505, allocations: 105.4 kB / 15.99 MB, free: 6.348 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.00149/0.00149, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.76/2.76, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 64.77 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3352, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002944/0.3382, allocations: 1.568 MB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000328/0.3386, allocations: 123.7 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.3386, allocations: 4 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.3387, allocations: 3.984 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.527e-05/0.3388, allocations: 7.938 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.3391, allocations: 63.84 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.3392, allocations: 59.8 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3393, allocations: 11.98 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.427e-05/0.3394, allocations: 27.92 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.3395, allocations: 31.89 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.3395, allocations: 4 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.3395, allocations: 4 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.3396, allocations: 19.92 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.3396, allocations: 27.88 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.51e-05/0.3397, allocations: 31.92 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3397, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3397, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.3398, allocations: 0 / 1.066 GB, free: 13.09 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.0006202/0.3404, allocations: 379.7 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3404, allocations: 12.03 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.3405, allocations: 4.844 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.3406, allocations: 168.3 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.433e-05/0.3407, allocations: 30.27 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.3407, allocations: 8.359 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.341, allocations: 74.16 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.341, allocations: 3.938 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.341, allocations: 8 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.341, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.3412, allocations: 43.95 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006674/0.3419, allocations: 328.7 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.342, allocations: 46.5 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/0.3422, allocations: 32.92 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.3422, allocations: 0 / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.3422, allocations: 30.56 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3422, allocations: 0 / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0003744/0.3426, allocations: 101.5 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.3427, allocations: 59.34 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3428, allocations: 105.8 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3428, allocations: 29.7 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.3429, allocations: 96.06 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.3429, allocations: 11.75 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.343, allocations: 21.72 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3431, allocations: 322.8 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.345e-05/0.3432, allocations: 15.98 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.3433, allocations: 41.69 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.3435, allocations: 61.62 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3435, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002337/0.3438, allocations: 81.59 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3438, allocations: 11.98 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3438, allocations: 0 / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3438, allocations: 0 / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3439, allocations: 16 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.3439, allocations: 3.984 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.743e-05/0.344, allocations: 15.88 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.344, allocations: 0 / 1.068 GB, free: 10.73 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 9.875e-05/0.3441, allocations: 119.1 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.3442, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.3442, allocations: 11.89 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3442, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.3442, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3442, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.3444, allocations: 181.6 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3444, allocations: 4 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.3445, allocations: 8 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3445, allocations: 3.984 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3445, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3445, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3445, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.3448, allocations: 191.5 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.3449, allocations: 81.05 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.3449, allocations: 4 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.3451, allocations: 7.984 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.3451, allocations: 7.984 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.3451, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.444e-05/0.3452, allocations: 91.27 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3452, allocations: 0 / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002269/0.3454, allocations: 8 kB / 1.069 GB, free: 9.926 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.0001273/0.3455, allocations: 103.2 kB / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.3458, allocations: 55.83 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3458, allocations: 0 / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.251e-05/0.3459, allocations: 23.98 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.3462, allocations: 16 kB / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.3466, allocations: 175.3 kB / 1.069 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.3469, allocations: 0.6838 MB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.347, allocations: 11.44 kB / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.347, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of Templates: time 0.002547/0.3495, allocations: 0.8544 MB / 1.071 GB, free: 7.957 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