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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009075/0.0009076, allocations: 98.72 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001003, allocations: 179.7 kB / 16.92 MB, free: 6.918 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 390.9 MB / 0.667 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004026, allocations: 8.281 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7296/0.73, allocations: 142.4 MB / 0.9557 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001734/0.7318, allocations: 1.22 MB / 0.9569 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003457/0.7322, allocations: 130.8 kB / 0.957 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.7322, allocations: 1.5 kB / 0.957 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.7323, allocations: 3.938 kB / 0.957 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.34e-05/0.7323, allocations: 5.375 kB / 0.957 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.7327, allocations: 68.72 kB / 0.9571 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.7328, allocations: 52.78 kB / 0.9571 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.733, allocations: 14.53 kB / 0.9572 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.919e-05/0.733, allocations: 27.16 kB / 0.9572 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.065e-05/0.7331, allocations: 25.38 kB / 0.9572 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.7331, allocations: 2.5 kB / 0.9572 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.7331, allocations: 1.5 kB / 0.9572 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.7332, allocations: 6.812 kB / 0.9572 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.7332, allocations: 46.75 kB / 0.9573 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.74e-05/0.7333, allocations: 38.06 kB / 0.9573 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7333, allocations: 0 / 0.9573 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7333, allocations: 1.219 kB / 0.9573 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.7333, allocations: 0 / 0.9573 GB, free: 6.828 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.0004949/0.7338, allocations: 369.9 kB / 0.9576 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.7339, allocations: 9.688 kB / 0.9577 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.734, allocations: 7.594 kB / 0.9577 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.7341, allocations: 170.5 kB / 0.9578 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.736e-05/0.7341, allocations: 30.48 kB / 0.9579 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.7342, allocations: 11.88 kB / 0.9579 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.7344, allocations: 79.88 kB / 0.9579 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7344, allocations: 3.938 kB / 0.9579 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.7345, allocations: 1.062 kB / 0.9579 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.7345, allocations: 5.031 kB / 0.958 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.7347, allocations: 58.77 kB / 0.958 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006511/0.7353, allocations: 332.2 kB / 0.9583 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.7355, allocations: 58.02 kB / 0.9584 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.7356, allocations: 40.45 kB / 0.9584 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.7356, allocations: 0 / 0.9584 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.7357, allocations: 39.97 kB / 0.9585 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.7357, allocations: 0 / 0.9585 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003922/0.7361, allocations: 115.6 kB / 0.9586 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.7361, allocations: 57.16 kB / 0.9586 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.614e-05/0.7362, allocations: 107.7 kB / 0.9587 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.7362, allocations: 25.7 kB / 0.9587 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.7362, allocations: 90.94 kB / 0.9588 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.7363, allocations: 13.06 kB / 0.9588 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.7363, allocations: 19.09 kB / 0.9589 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.7364, allocations: 320.1 kB / 0.9592 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.671e-05/0.7365, allocations: 24.73 kB / 0.9592 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-05/0.7366, allocations: 36.95 kB / 0.9592 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.7368, allocations: 75.86 kB / 0.9593 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7368, allocations: 0 / 0.9593 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002793/0.7371, allocations: 100.1 kB / 0.9594 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.7371, allocations: 4.781 kB / 0.9594 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.7371, allocations: 1.094 kB / 0.9594 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.7371, allocations: 1.188 kB / 0.9594 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.7372, allocations: 19.86 kB / 0.9594 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.7372, allocations: 0.8438 kB / 0.9594 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.7373, allocations: 19.11 kB / 0.9594 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.7373, allocations: 1.656 kB / 0.9594 GB, free: 4.797 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 6.789e-05/0.7374, allocations: 116 kB / 0.9596 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.7374, allocations: 3.125 kB / 0.9596 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.7375, allocations: 3.906 kB / 0.9596 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.7375, allocations: 0.875 kB / 0.9596 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7375, allocations: 1.125 kB / 0.9596 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.7375, allocations: 7.984 kB / 0.9596 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.7377, allocations: 180.1 kB / 0.9597 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7377, allocations: 0 / 0.9597 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.546e-05/0.7377, allocations: 18.52 kB / 0.9598 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7378, allocations: 1.344 kB / 0.9598 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.7378, allocations: 0 / 0.9598 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7378, allocations: 0 / 0.9598 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7378, allocations: 1.406 kB / 0.9598 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.738, allocations: 194.5 kB / 0.9599 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.7381, allocations: 79.81 kB / 0.96 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.7381, allocations: 3.984 kB / 0.96 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.7382, allocations: 18.92 kB / 0.96 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.7383, allocations: 1.219 kB / 0.96 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.7383, allocations: 6.484 kB / 0.9601 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.7383, allocations: 86.12 kB / 0.9601 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7383, allocations: 0 / 0.9601 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002358/0.7386, allocations: 11.25 kB / 0.9601 GB, free: 4.074 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 9.994e-05/0.7387, allocations: 103.6 kB / 0.9602 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002625/0.739, allocations: 67.69 kB / 0.9603 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.739, allocations: 0 / 0.9603 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.7391, allocations: 31.41 kB / 0.9603 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.7394, allocations: 8.562 kB / 0.9603 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.7398, allocations: 176.9 kB / 0.9605 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.7399, allocations: 0.6867 MB / 0.9612 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.74, allocations: 12.66 kB / 0.9612 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of SimCode: time 5.92e-07/0.74, allocations: 4 kB / 0.9612 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of Templates: time 0.002595/0.7426, allocations: 0.8316 MB / 0.962 GB, free: 2.621 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches