Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002762/0.002762, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003269/0.003269, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.804/2.804, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.7863 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.097e-05, allocations: 6.047 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.004027/0.004058, allocations: 1.525 MB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004677/0.004525, allocations: 132.7 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.004579, allocations: 4 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.004612, allocations: 4.531 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.855e-05/0.004711, allocations: 7.875 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.0051, allocations: 64.78 kB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.005264, allocations: 60.88 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.005378, allocations: 11.98 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.005495, allocations: 37.08 kB / 0.7882 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.529e-05/0.00558, allocations: 19.92 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.005626, allocations: 4 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.259e-05/0.005649, allocations: 4.562 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.00569, allocations: 15.97 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.259e-05/0.005743, allocations: 20.61 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.005923, allocations: 64.69 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005927, allocations: 0 / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.503e-06/0.005928, allocations: 0 / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.005937, allocations: 4.656 kB / 0.7883 GB, free: 10.86 MB / 0.7448 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.0007516/0.006688, allocations: 389.8 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.006732, allocations: 11.97 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.989e-05/0.006802, allocations: 8.891 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.006966, allocations: 116.5 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.007084, allocations: 63.5 kB / 0.7888 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.007106, allocations: 4.375 kB / 0.7888 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.007405, allocations: 95.86 kB / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.007416, allocations: 192 / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.007439, allocations: 8.375 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.007447, allocations: 4.125 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.007653, allocations: 27.98 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008312/0.008484, allocations: 304.5 kB / 0.7893 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.00868, allocations: 56.64 kB / 0.7893 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.008799, allocations: 27.77 kB / 0.7893 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.008823, allocations: 3.938 kB / 0.7894 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.701e-05/0.00888, allocations: 37.39 kB / 0.7894 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.008881, allocations: 0.5312 kB / 0.7894 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0004987/0.00938, allocations: 90.81 kB / 0.7895 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.009444, allocations: 51.41 kB / 0.7895 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.009664, allocations: 179 kB / 0.7897 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.009703, allocations: 25.7 kB / 0.7897 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.009836, allocations: 142.8 kB / 0.7899 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.009866, allocations: 12.78 kB / 0.7899 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.009937, allocations: 27.38 kB / 0.7899 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003948/0.01033, allocations: 0.4884 MB / 0.7904 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.01044, allocations: 16.91 kB / 0.7904 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.01057, allocations: 36.39 kB / 0.7904 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.0108, allocations: 47.36 kB / 0.7905 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01081, allocations: 1.344 kB / 0.7905 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003436/0.01115, allocations: 85.78 kB / 0.7905 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.01117, allocations: 5.344 kB / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01118, allocations: 0.5625 kB / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.01119, allocations: 0 / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.01134, allocations: 16.69 kB / 0.7906 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.01136, allocations: 7.938 kB / 0.7906 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.01142, allocations: 1.219 kB / 0.7906 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.01144, allocations: 4 kB / 0.7906 GB, free: 8.277 MB / 0.7448 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 0.0001799/0.01162, allocations: 165.4 kB / 0.7907 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.01169, allocations: 11.88 kB / 0.7908 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.01173, allocations: 13.75 kB / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01173, allocations: 0 / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.01174, allocations: 0 / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.01174, allocations: 0 / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.01204, allocations: 128.6 kB / 0.7909 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01204, allocations: 0.625 kB / 0.7909 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.01215, allocations: 11.98 kB / 0.7909 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.01216, allocations: 4.625 kB / 0.7909 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.01217, allocations: 0.5625 kB / 0.7909 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01217, allocations: 0 / 0.7909 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01217, allocations: 1.125 kB / 0.7909 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.01261, allocations: 219.8 kB / 0.7911 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.01262, allocations: 4.781 kB / 0.7911 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.01265, allocations: 7.938 kB / 0.7911 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.01284, allocations: 4.969 kB / 0.7911 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.0129, allocations: 3.984 kB / 0.7911 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.01292, allocations: 4.125 kB / 0.7911 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001352/0.01305, allocations: 132.4 kB / 0.7913 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01305, allocations: 0 / 0.7913 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004194/0.01347, allocations: 8 kB / 0.7913 GB, free: 7.512 MB / 0.7448 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.0001875/0.01366, allocations: 100.1 kB / 0.7914 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003404/0.014, allocations: 57.81 kB / 0.7914 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.014, allocations: 0 / 0.7914 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.01415, allocations: 27.67 kB / 0.7915 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.01459, allocations: 8 kB / 0.7915 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.01514, allocations: 156.9 kB / 0.7916 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.01526, allocations: 67.34 kB / 0.7917 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.962e-05/0.01532, allocations: 0 / 0.7917 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.01537, allocations: 14 kB / 0.7917 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.01537, allocations: 0 / 0.7917 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.006195/0.02156, allocations: 0.8684 MB / 0.7925 GB, free: 6.203 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.890644224011339]