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.001863/0.001863, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.002424/0.002424, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.561/1.561, allocations: 177.1 MB / 203.9 MB, free: 5.625 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.716/2.716, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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.983e-06/1.983e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.179e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.004285/0.004316, allocations: 1.513 MB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004797/0.004796, allocations: 128.1 kB / 0.788 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.004849, allocations: 0.9062 kB / 0.788 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.471e-05/0.004893, allocations: 3.938 kB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.052e-05/0.004974, allocations: 8.766 kB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.005413, allocations: 68.39 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.005581, allocations: 68.92 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.005692, allocations: 11.98 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.005799, allocations: 31.97 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.824e-05/0.005867, allocations: 20.42 kB / 0.7882 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.005896, allocations: 4.906 kB / 0.7882 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/0.005917, allocations: 8 kB / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.33e-05/0.00595, allocations: 11.97 kB / 0.7882 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.006006, allocations: 24.92 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.006187, allocations: 59.84 kB / 0.7883 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006191, allocations: 0.6562 kB / 0.7883 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006192, allocations: 0 / 0.7883 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.006196, allocations: 0.5625 kB / 0.7883 GB, free: 10.91 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.000705/0.006901, allocations: 295 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.006941, allocations: 9.625 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.18e-05/0.007013, allocations: 8.891 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.007183, allocations: 113.7 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.00732, allocations: 71.89 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.007345, allocations: 7.812 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.007715, allocations: 99.92 kB / 0.7888 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.007726, allocations: 192 / 0.7888 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.007744, allocations: 384 / 0.7888 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.007755, allocations: 4.125 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.008069, allocations: 47.95 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008642/0.008934, allocations: 253.8 kB / 0.7891 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.009165, allocations: 44.08 kB / 0.7892 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.009336, allocations: 36.92 kB / 0.7892 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.009356, allocations: 3.938 kB / 0.7892 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.0094, allocations: 31.84 kB / 0.7892 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.009402, allocations: 0 / 0.7892 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0006139/0.01002, allocations: 103.5 kB / 0.7893 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.01008, allocations: 55.41 kB / 0.7894 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.01023, allocations: 109.8 kB / 0.7895 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.01027, allocations: 29.7 kB / 0.7895 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.01036, allocations: 93.61 kB / 0.7896 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.01038, allocations: 7.953 kB / 0.7896 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.01044, allocations: 17.72 kB / 0.7896 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002351/0.01068, allocations: 314.8 kB / 0.7899 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.01083, allocations: 25.91 kB / 0.79 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.011, allocations: 29.7 kB / 0.79 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.0113, allocations: 68.2 kB / 0.7901 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.0113, allocations: 0 / 0.7901 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003862/0.01168, allocations: 85.78 kB / 0.7901 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.0117, allocations: 4.531 kB / 0.7901 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.01171, allocations: 7.938 kB / 0.7902 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.01173, allocations: 0.7188 kB / 0.7902 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.01189, allocations: 17.3 kB / 0.7902 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.0119, allocations: 4 kB / 0.7902 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.012, allocations: 15.91 kB / 0.7902 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.01201, allocations: 0.625 kB / 0.7902 GB, free: 8.746 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.0001387/0.01215, allocations: 115 kB / 0.7903 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/0.01221, allocations: 11.89 kB / 0.7903 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.01224, allocations: 4 kB / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01224, allocations: 4.688 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01225, allocations: 0 / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01225, allocations: 0.7188 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.01252, allocations: 121.3 kB / 0.7904 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01252, allocations: 0.5 kB / 0.7904 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.01263, allocations: 9.062 kB / 0.7904 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-06/0.01264, allocations: 3.938 kB / 0.7904 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01265, allocations: 3.984 kB / 0.7905 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.01265, allocations: 1.031 kB / 0.7905 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/0.01266, allocations: 7.938 kB / 0.7905 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004317/0.01309, allocations: 172.4 kB / 0.7906 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.01311, allocations: 10.17 kB / 0.7906 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.01313, allocations: 3.938 kB / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.01335, allocations: 11.98 kB / 0.7907 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.0134, allocations: 7.984 kB / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.01342, allocations: 0 / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.481e-05/0.01351, allocations: 89.98 kB / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01351, allocations: 0 / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004411/0.01395, allocations: 12 kB / 0.7908 GB, free: 8.121 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.000173/0.01413, allocations: 95.25 kB / 0.7908 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003415/0.01447, allocations: 53.42 kB / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01447, allocations: 0 / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.01463, allocations: 23.98 kB / 0.7909 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.01509, allocations: 11.92 kB / 0.7909 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.01558, allocations: 141.2 kB / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.01568, allocations: 72.92 kB / 0.7911 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.371e-05/0.01574, allocations: 4.656 kB / 0.7911 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.01579, allocations: 17.41 kB / 0.7912 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of SimCode: time 6.22e-07/0.01579, allocations: 0 / 0.7912 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of Templates: time 0.004944/0.02073, allocations: 0.8569 MB / 0.792 GB, free: 6.844 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 400] 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.711747676017694]