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.008653/0.008653, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001448/0.001449, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.616/1.616, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.26/2.26, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 71.89 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.037, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.00299/1.04, allocations: 1.492 MB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003401/1.041, allocations: 132.1 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/1.041, allocations: 0.8125 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.339e-05/1.041, allocations: 5.438 kB / 1.089 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.175e-05/1.041, allocations: 13.17 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/1.041, allocations: 63.91 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/1.041, allocations: 54.67 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/1.042, allocations: 21.59 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.495e-05/1.042, allocations: 27.89 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.311e-05/1.042, allocations: 31.28 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/1.042, allocations: 5.25 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.72e-05/1.042, allocations: 6.375 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/1.042, allocations: 17.78 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/1.042, allocations: 24.58 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/1.042, allocations: 59.38 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/1.042, allocations: 0 / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.265e-06/1.042, allocations: 1.312 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.596e-06/1.042, allocations: 0 / 1.09 GB, free: 4.223 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.0006328/1.043, allocations: 369.6 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.043, allocations: 13.16 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/1.043, allocations: 8.656 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.329e-05/1.043, allocations: 170 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.189e-05/1.043, allocations: 31 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/1.043, allocations: 2.5 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/1.043, allocations: 77.66 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.043, allocations: 8.844 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/1.043, allocations: 0.75 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.043, allocations: 1.297 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/1.044, allocations: 45.36 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006087/1.044, allocations: 314.1 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/1.044, allocations: 55.97 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.789e-05/1.044, allocations: 29.17 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/1.044, allocations: 1.188 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/1.045, allocations: 36.55 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/1.045, allocations: 0 / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004138/1.045, allocations: 101.5 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/1.045, allocations: 53.03 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/1.045, allocations: 116.2 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/1.045, allocations: 25.7 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/1.045, allocations: 91.84 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/1.045, allocations: 15.28 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/1.045, allocations: 23 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.374e-05/1.045, allocations: 320.8 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.955e-05/1.045, allocations: 18.31 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.248e-05/1.045, allocations: 36.64 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/1.046, allocations: 61.41 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.046, allocations: 0 / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002095/1.046, allocations: 86.59 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.046, allocations: 5.406 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.046, allocations: 5.391 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.046, allocations: 1.562 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/1.046, allocations: 12.78 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/1.046, allocations: 5.031 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/1.046, allocations: 14.52 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/1.046, allocations: 1.5 kB / 1.092 GB, free: 2.355 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.201e-05/1.046, allocations: 117.8 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/1.046, allocations: 2.406 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/1.046, allocations: 9.641 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.046, allocations: 0.625 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.046, allocations: 0.625 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.046, allocations: 1.266 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/1.046, allocations: 183.2 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/1.046, allocations: 0 / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/1.047, allocations: 11.34 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.047, allocations: 0.75 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/1.047, allocations: 1.719 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.047, allocations: 0 / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.047, allocations: 0 / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/1.047, allocations: 187.1 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/1.047, allocations: 79.28 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/1.047, allocations: 1.422 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/1.047, allocations: 10.02 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/1.047, allocations: 3.75 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/1.047, allocations: 6.766 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.77e-05/1.047, allocations: 88.02 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/1.047, allocations: 0.7812 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002289/1.047, allocations: 15.66 kB / 1.093 GB, free: 1.672 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.0001661/1.048, allocations: 97.56 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002496/1.048, allocations: 56.62 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.048, allocations: 0 / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.209e-05/1.048, allocations: 25.05 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/1.048, allocations: 4.594 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/1.049, allocations: 144.7 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/1.049, allocations: 0.6859 MB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.07e-05/1.049, allocations: 5.172 kB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/1.049, allocations: 9.5 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/1.049, allocations: 0 / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of Templates: time 0.003494/1.052, allocations: 0.8184 MB / 1.094 GB, free: 0.625 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