Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001922/0.001922, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.534/2.534, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 64.14 kB / 0.8118 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7656/0.767, allocations: 140.4 MB / 0.9489 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002352/0.7694, allocations: 1.558 MB / 0.9504 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003022/0.7698, allocations: 129 kB / 0.9505 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.7698, allocations: 0 / 0.9505 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.687e-05/0.7699, allocations: 9.516 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/0.7699, allocations: 3.938 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.7702, allocations: 69.78 kB / 0.9506 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.941e-05/0.7703, allocations: 53 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.7704, allocations: 19.14 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.183e-05/0.7705, allocations: 27.08 kB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.7705, allocations: 25.52 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.7706, allocations: 2.969 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.809e-05/0.7706, allocations: 3.844 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.7706, allocations: 14.77 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.7707, allocations: 13.88 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.443e-05/0.7708, allocations: 55.91 kB / 0.9508 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.7708, allocations: 1.062 kB / 0.9508 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7708, allocations: 0 / 0.9508 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.7708, allocations: 0 / 0.9508 GB, free: 7.68 MB / 0.7169 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.0004592/0.7712, allocations: 382.2 kB / 0.9512 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.7713, allocations: 8.031 kB / 0.9512 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.7713, allocations: 4.062 kB / 0.9512 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.491e-05/0.7714, allocations: 175 kB / 0.9514 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.053e-05/0.7715, allocations: 33.55 kB / 0.9514 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.7715, allocations: 3.156 kB / 0.9514 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.7717, allocations: 74.47 kB / 0.9515 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.7717, allocations: 3.938 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.7717, allocations: 4 kB / 0.9515 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.7718, allocations: 1.656 kB / 0.9515 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.7719, allocations: 48.72 kB / 0.9515 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.7725, allocations: 331.1 kB / 0.9518 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.7726, allocations: 44.38 kB / 0.9519 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.659e-05/0.7727, allocations: 36.05 kB / 0.9519 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.7727, allocations: 0 / 0.9519 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.7727, allocations: 31.94 kB / 0.952 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.7727, allocations: 7.938 kB / 0.952 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003369/0.7731, allocations: 93.52 kB / 0.9521 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.7731, allocations: 52.78 kB / 0.9521 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.7732, allocations: 107.5 kB / 0.9522 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.7732, allocations: 29.64 kB / 0.9522 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.7732, allocations: 94.78 kB / 0.9523 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.7732, allocations: 17.16 kB / 0.9523 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.7733, allocations: 13.88 kB / 0.9524 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.411e-05/0.7733, allocations: 323.8 kB / 0.9527 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/0.7734, allocations: 20.48 kB / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-05/0.7735, allocations: 35.03 kB / 0.9527 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.7737, allocations: 62.88 kB / 0.9528 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.7737, allocations: 0 / 0.9528 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001978/0.7739, allocations: 86.66 kB / 0.9529 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.7739, allocations: 4.344 kB / 0.9529 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7739, allocations: 1.219 kB / 0.9529 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.7739, allocations: 1.328 kB / 0.9529 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.774, allocations: 17.02 kB / 0.9529 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.7741, allocations: 1.188 kB / 0.9529 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.536e-05/0.7741, allocations: 9.297 kB / 0.9529 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.7741, allocations: 1.562 kB / 0.9529 GB, free: 5.656 MB / 0.7169 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 5.373e-05/0.7742, allocations: 115.5 kB / 0.953 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.7742, allocations: 10.3 kB / 0.953 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.7743, allocations: 9.406 kB / 0.953 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7743, allocations: 3.984 kB / 0.953 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7743, allocations: 5.312 kB / 0.953 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7743, allocations: 0 / 0.953 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.7744, allocations: 171.4 kB / 0.9532 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.7744, allocations: 5.328 kB / 0.9532 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.775e-05/0.7745, allocations: 11.56 kB / 0.9532 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.7745, allocations: 1.625 kB / 0.9532 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.7745, allocations: 4 kB / 0.9532 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.7745, allocations: 0 / 0.9532 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7745, allocations: 0 / 0.9532 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.7747, allocations: 178.5 kB / 0.9534 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.7748, allocations: 82.27 kB / 0.9535 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.7748, allocations: 1.188 kB / 0.9535 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.7749, allocations: 14.92 kB / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.775, allocations: 13.33 kB / 0.9535 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.775, allocations: 1.469 kB / 0.9535 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.023e-05/0.775, allocations: 89.47 kB / 0.9536 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.775, allocations: 4 kB / 0.9536 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002317/0.7753, allocations: 8.281 kB / 0.9536 GB, free: 4.922 MB / 0.7169 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 8.608e-05/0.7754, allocations: 100.2 kB / 0.9537 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.7756, allocations: 57.39 kB / 0.9537 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7756, allocations: 0 / 0.9537 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.423e-05/0.7757, allocations: 26.2 kB / 0.9538 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.776, allocations: 11.84 kB / 0.9538 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.7763, allocations: 158.2 kB / 0.9539 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.7764, allocations: 0.6813 MB / 0.9546 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.276e-05/0.7765, allocations: 8.844 kB / 0.9546 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.7765, allocations: 8.812 kB / 0.9546 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.7765, allocations: 0 / 0.9546 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.002858/0.7794, allocations: 0.713 MB / 0.9553 GB, free: 3.555 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches