Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001565/0.001565, allocations: 108.4 kB / 16.27 MB, free: 6.016 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.001841/0.001841, allocations: 191.7 kB / 17.2 MB, free: 5.625 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.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.607/2.607, allocations: 469.4 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 59.39 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3628, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003255/0.3661, allocations: 1.495 MB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003805/0.3665, allocations: 127.6 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.3666, allocations: 0 / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.3667, allocations: 7.938 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.3668, allocations: 3.938 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.3672, allocations: 76.77 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.3673, allocations: 55.91 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.3674, allocations: 23.97 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.331e-05/0.3675, allocations: 19.92 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.3676, allocations: 23.92 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.3676, allocations: 4 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.744e-05/0.3676, allocations: 8 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.3677, allocations: 15.92 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.3677, allocations: 31.84 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.3679, allocations: 47.81 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3679, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.467e-06/0.3679, allocations: 3.984 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3679, 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.000582/0.3685, allocations: 367.7 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3685, allocations: 12.62 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.3686, allocations: 8.844 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.3687, allocations: 176.3 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.729e-05/0.3688, allocations: 34.27 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.3688, allocations: 384 / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.3691, allocations: 70.22 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3691, allocations: 3.938 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3691, allocations: 7.984 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3691, allocations: 8 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.3693, allocations: 47.89 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.37, allocations: 312.7 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.3701, allocations: 54.48 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.3702, allocations: 36.88 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.3703, allocations: 0 / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3703, allocations: 30.56 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.3703, allocations: 3.938 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0003815/0.3707, allocations: 105.5 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.3707, allocations: 51.41 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/0.3708, allocations: 109.8 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3709, allocations: 25.7 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.3709, allocations: 92.08 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.3709, allocations: 15.8 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.371, allocations: 13.72 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3711, allocations: 326.8 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.173e-05/0.3712, allocations: 27.91 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.312e-05/0.3713, allocations: 33.7 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.3715, allocations: 57.67 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3715, allocations: 4 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002195/0.3717, allocations: 81.59 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3717, allocations: 4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3718, allocations: 4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3718, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3719, allocations: 11.98 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3719, allocations: 4 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.928e-05/0.372, allocations: 15.92 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.372, allocations: 4 kB / 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.771e-05/0.3721, allocations: 113.8 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.3721, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.3721, allocations: 7.906 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3722, allocations: 4 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3722, allocations: 3.938 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3722, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.3724, allocations: 177.6 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3724, allocations: 8.234 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.3724, allocations: 16.11 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3724, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3725, allocations: 4 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3725, allocations: 3.938 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3725, allocations: 3.984 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.3727, allocations: 179.4 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.3728, allocations: 85.03 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3728, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3729, allocations: 15.98 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.373, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.373, allocations: 4 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.3731, allocations: 91.2 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3731, allocations: 0 / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002221/0.3733, allocations: 11.94 kB / 1.069 GB, free: 9.918 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.0001239/0.3734, allocations: 99.78 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.3737, allocations: 55.89 kB / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3737, allocations: 0 / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.303e-05/0.3738, allocations: 31.91 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.3741, allocations: 8 kB / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.3745, allocations: 155.8 kB / 1.069 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.3747, allocations: 0.6846 MB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.3748, allocations: 11.44 kB / 1.07 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of SimCode: time 6.21e-07/0.3748, allocations: 0 / 1.07 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of Templates: time 0.002344/0.3771, allocations: 0.8533 MB / 1.071 GB, free: 7.973 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches