Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009241/0.0009242, allocations: 98.88 kB / 16.02 MB, free: 76 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.001158/0.001158, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.471/1.471, allocations: 223.3 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.702/2.702, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005026, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7704/0.7709, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002251/0.7732, allocations: 1.219 MB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003693/0.7736, allocations: 127.7 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.7737, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.7737, allocations: 11.92 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-05/0.7738, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.7742, allocations: 67.72 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.7743, allocations: 55.84 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.7744, allocations: 12 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.374e-05/0.7745, allocations: 23.91 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.7746, allocations: 15.92 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.7746, allocations: 4 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.772e-05/0.7746, allocations: 4 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.7747, allocations: 15.92 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.067e-05/0.7747, allocations: 45.56 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.7749, allocations: 35.92 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7749, allocations: 4 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7749, allocations: 0 / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.7749, allocations: 0 / 1.025 GB, free: 14.22 MB / 0.7794 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.0006575/0.7756, allocations: 369.3 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.7756, allocations: 11.98 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.7757, allocations: 4.938 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.7758, allocations: 180.2 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.565e-05/0.7759, allocations: 34.27 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.776, allocations: 384 / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.7762, allocations: 86.22 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7762, allocations: 3.938 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.7763, allocations: 0 / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.7763, allocations: 0 / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.7765, allocations: 63.95 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007907/0.7773, allocations: 332.7 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.7775, allocations: 54.55 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.7776, allocations: 36.94 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.7776, allocations: 0 / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.7776, allocations: 38.55 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.7777, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004412/0.7781, allocations: 121.5 kB / 1.027 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.7782, allocations: 51.41 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.7783, allocations: 109.8 kB / 1.027 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.7783, allocations: 37.64 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.7784, allocations: 84.05 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.7784, allocations: 19.83 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.7784, allocations: 9.719 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.7786, allocations: 318.8 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.7787, allocations: 35.97 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.7788, allocations: 33.7 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.7791, allocations: 73.61 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7791, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002587/0.7793, allocations: 101.5 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.7794, allocations: 14.12 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.7794, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.7794, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.7795, allocations: 15.98 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.7795, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.994e-05/0.7796, allocations: 11.98 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.7796, allocations: 8 kB / 1.027 GB, free: 11.77 MB / 0.7794 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.729e-05/0.7797, allocations: 115 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.7797, allocations: 4 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.7798, allocations: 7.906 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.7798, allocations: 0 / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.7798, allocations: 0 / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7798, allocations: 0 / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.78, allocations: 181.5 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.78, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.693e-05/0.7801, allocations: 19.98 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.7801, allocations: 0 / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.7801, allocations: 3.938 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7801, allocations: 0 / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7801, allocations: 0 / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.7804, allocations: 191.7 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.7805, allocations: 89 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.7805, allocations: 0 / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.7806, allocations: 15.98 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.7807, allocations: 4 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.7807, allocations: 4 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.7808, allocations: 87.27 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.7808, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002545/0.781, allocations: 12 kB / 1.028 GB, free: 10.95 MB / 0.7794 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.0001252/0.7812, allocations: 95.25 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.7814, allocations: 71.83 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7814, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.941e-05/0.7816, allocations: 35.91 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.7819, allocations: 4 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.7823, allocations: 190.3 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.7826, allocations: 0.6848 MB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.7826, allocations: 7.438 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.7826, allocations: 0 / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of Templates: time 0.002467/0.7851, allocations: 0.8406 MB / 1.03 GB, free: 8.969 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches