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.006639/0.006639, allocations: 98.53 kB / 15.73 MB, free: 6.039 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.001279/0.001279, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.773/2.773, allocations: 461.9 MB / 0.7347 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.89 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3599, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003114/0.3631, allocations: 1.507 MB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003418/0.3634, allocations: 127.7 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.3635, allocations: 0 / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.3635, allocations: 7.922 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.567e-05/0.3636, allocations: 3.938 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.3641, allocations: 63.83 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.3642, allocations: 63.84 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3643, allocations: 15.98 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.908e-05/0.3644, allocations: 27.91 kB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.727e-05/0.3645, allocations: 27.86 kB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.3645, allocations: 4 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.3645, allocations: 4 kB / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.3646, allocations: 15.92 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.3646, allocations: 27.86 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.3648, allocations: 51.86 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3648, allocations: 3.984 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3648, allocations: 4 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.3648, allocations: 0 / 1.21 GB, free: 7.691 MB / 0.9669 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.0005843/0.3654, allocations: 371.3 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3655, allocations: 8.625 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.3655, allocations: 12.83 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.3657, allocations: 176.2 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.635e-05/0.3657, allocations: 30.27 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.3658, allocations: 8.375 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.366, allocations: 74.2 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.366, allocations: 3.938 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.366, allocations: 8 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-06/0.3661, allocations: 3.938 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.3662, allocations: 43.89 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.3669, allocations: 312.8 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.367, allocations: 50.55 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.99e-05/0.3672, allocations: 28.94 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.3672, allocations: 0 / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.3672, allocations: 42.5 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3672, allocations: 0 / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003866/0.3676, allocations: 101.5 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.3677, allocations: 51.41 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.13e-05/0.3678, allocations: 109.8 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.3678, allocations: 25.7 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.3678, allocations: 96.08 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.3679, allocations: 11.8 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.3679, allocations: 17.72 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.368, allocations: 318.8 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.533e-05/0.3681, allocations: 23.97 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.3682, allocations: 37.64 kB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.3684, allocations: 57.67 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3684, allocations: 0 / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002445/0.3687, allocations: 89.5 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3687, allocations: 5.562 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3687, allocations: 4 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3688, allocations: 4.031 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3689, allocations: 15.92 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3689, allocations: 4 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.924e-05/0.3689, allocations: 7.984 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.369, allocations: 128 / 1.212 GB, free: 5.34 MB / 0.9669 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 8.593e-05/0.369, allocations: 117.8 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.3691, allocations: 240 / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.3691, allocations: 15.91 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3691, allocations: 7.984 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3691, allocations: 0 / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3691, allocations: 0 / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.3693, allocations: 177.5 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3693, allocations: 4 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.3694, allocations: 19.86 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3694, allocations: 0 / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3694, allocations: 0 / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3694, allocations: 0 / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3694, allocations: 0 / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.3697, allocations: 179.5 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.3698, allocations: 88.94 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.3698, allocations: 0 / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.3699, allocations: 11.98 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.37, allocations: 4 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.37, allocations: 4 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.675e-05/0.3701, allocations: 91.66 kB / 1.212 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3701, allocations: 4 kB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002239/0.3703, allocations: 4 kB / 1.212 GB, free: 4.523 MB / 0.9669 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.0001159/0.3704, allocations: 103.2 kB / 1.212 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.3707, allocations: 51.89 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3707, allocations: 0 / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.72e-05/0.3708, allocations: 35.97 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.371, allocations: 8 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.3714, allocations: 133.5 kB / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.3717, allocations: 0.6869 MB / 1.213 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.652e-05/0.3717, allocations: 8 kB / 1.213 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.3717, allocations: 7.438 kB / 1.213 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.3717, allocations: 0 / 1.213 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of Templates: time 0.003061/0.3748, allocations: 0.8255 MB / 1.214 GB, free: 2.625 MB / 0.9669 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches