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.01202/0.01202, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002511/0.002511, allocations: 195.1 kB / 16.67 MB, free: 5.52 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.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.423/2.423, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.89 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002903/1.079, allocations: 1.494 MB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003415/1.08, allocations: 129.3 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.914e-05/1.08, allocations: 0 / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.046e-05/1.08, allocations: 5.656 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.897e-05/1.08, allocations: 10.36 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00036/1.08, allocations: 75.22 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/1.081, allocations: 56.84 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/1.081, allocations: 18.39 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.335e-05/1.081, allocations: 28.2 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.382e-05/1.081, allocations: 27.25 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/1.081, allocations: 6 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.73e-05/1.081, allocations: 4.406 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/1.081, allocations: 14.02 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/1.081, allocations: 30.33 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/1.081, allocations: 54.33 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.081, allocations: 1.188 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/1.081, allocations: 0 / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.39e-06/1.081, allocations: 0 / 1.09 GB, free: 4.254 MB / 0.8575 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.0005371/1.082, allocations: 369.9 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/1.082, allocations: 9.188 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/1.082, allocations: 7.719 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/1.082, allocations: 174.8 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/1.082, allocations: 30.12 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/1.082, allocations: 8.141 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/1.082, allocations: 73.83 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.082, allocations: 7.875 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/1.082, allocations: 1.094 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.082, allocations: 1.609 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/1.082, allocations: 49.16 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/1.083, allocations: 321.4 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/1.083, allocations: 48.5 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/1.083, allocations: 32.72 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/1.083, allocations: 1.062 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/1.083, allocations: 32.64 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/1.083, allocations: 0 / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003802/1.084, allocations: 98.78 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/1.084, allocations: 52.02 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.968e-05/1.084, allocations: 124 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/1.084, allocations: 25.7 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/1.084, allocations: 88.05 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/1.084, allocations: 15.44 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/1.084, allocations: 18.55 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.535e-05/1.084, allocations: 317.5 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-05/1.084, allocations: 20.78 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/1.084, allocations: 42.33 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/1.084, allocations: 56.95 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.084, allocations: 0 / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002445/1.085, allocations: 87.17 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.085, allocations: 5.562 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.085, allocations: 4.609 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.085, allocations: 5.281 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/1.085, allocations: 21.16 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.085, allocations: 0.6875 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/1.085, allocations: 11.03 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/1.085, allocations: 1.312 kB / 1.092 GB, free: 2.383 MB / 0.8575 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.917e-05/1.085, allocations: 121.4 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/1.085, allocations: 2.219 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/1.085, allocations: 6.156 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/1.085, allocations: 0.6875 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.085, allocations: 0.875 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.085, allocations: 0.7031 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/1.085, allocations: 179.3 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.085, allocations: 0 / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.64e-05/1.085, allocations: 11.44 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/1.085, allocations: 1.609 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/1.085, allocations: 4.75 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.085, allocations: 0 / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/1.085, allocations: 4.688 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/1.086, allocations: 182.4 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/1.086, allocations: 80.22 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/1.086, allocations: 0.6875 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/1.086, allocations: 14.23 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/1.086, allocations: 3.594 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/1.086, allocations: 2.672 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.072e-05/1.086, allocations: 88.66 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/1.086, allocations: 0 / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002348/1.086, allocations: 8.25 kB / 1.093 GB, free: 1.707 MB / 0.8575 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.000124/1.086, allocations: 100.4 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002724/1.087, allocations: 60.67 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.087, allocations: 0.7188 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/1.087, allocations: 25.11 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/1.087, allocations: 6.984 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/1.087, allocations: 139.5 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/1.088, allocations: 0.6873 MB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.912e-05/1.088, allocations: 8.672 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/1.088, allocations: 9.562 kB / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/1.088, allocations: 0 / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of Templates: time 0.003579/1.091, allocations: 0.8214 MB / 1.094 GB, free: 0.6484 MB / 0.8575 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