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.0009731/0.0009731, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009409/0.0009409, allocations: 169 kB / 23.82 MB, free: 0.7422 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 0.8808/0.8808, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 1.675/1.675, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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.833e-06/1.833e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.044e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001989/0.00201, allocations: 1.555 MB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005521/0.002562, allocations: 128.4 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.002605, allocations: 4 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.002635, allocations: 8.484 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-05/0.00269, allocations: 8.562 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.002952, allocations: 68.73 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.524e-05/0.003047, allocations: 55.84 kB / 0.7889 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.003146, allocations: 16.64 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.644e-05/0.003212, allocations: 39.34 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.003263, allocations: 15.97 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.003285, allocations: 4 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.003296, allocations: 4 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.003321, allocations: 23.91 kB / 0.789 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.003346, allocations: 8 kB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.003454, allocations: 51.8 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.003456, allocations: 0 / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003457, allocations: 4 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.003461, allocations: 0.7188 kB / 0.789 GB, free: 10.54 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.0004212/0.003882, allocations: 394.1 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.003924, allocations: 8.031 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.003971, allocations: 8.938 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.83e-05/0.00407, allocations: 116.5 kB / 0.7895 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.004137, allocations: 55.97 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.004153, allocations: 9.719 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.004298, allocations: 104.5 kB / 0.7897 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.004306, allocations: 192 / 0.7897 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.004318, allocations: 1.969 kB / 0.7897 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.004326, allocations: 8.125 kB / 0.7897 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.73e-05/0.004364, allocations: 12 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.00476, allocations: 292.8 kB / 0.79 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.653e-05/0.004837, allocations: 46.97 kB / 0.79 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.004866, allocations: 21.16 kB / 0.79 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.004876, allocations: 3.938 kB / 0.79 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.004899, allocations: 37.39 kB / 0.7901 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.0049, allocations: 4 kB / 0.7901 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001476/0.005048, allocations: 50.31 kB / 0.7901 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.005073, allocations: 51.97 kB / 0.7902 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.644e-05/0.00515, allocations: 174.4 kB / 0.7904 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.005163, allocations: 29.7 kB / 0.7904 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.005214, allocations: 139.6 kB / 0.7905 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.005232, allocations: 23.78 kB / 0.7905 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.005262, allocations: 20.25 kB / 0.7906 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.005367, allocations: 496.1 kB / 0.791 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.005385, allocations: 8.516 kB / 0.791 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/0.005414, allocations: 23.38 kB / 0.7911 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.703e-05/0.005461, allocations: 32.75 kB / 0.7911 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.005463, allocations: 0 / 0.7911 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.218e-05/0.005546, allocations: 62.84 kB / 0.7912 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.00556, allocations: 4 kB / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.005566, allocations: 0 / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.005583, allocations: 4.641 kB / 0.7912 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.005659, allocations: 12 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.005665, allocations: 0.7188 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.005688, allocations: 4 kB / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.005694, allocations: 5.062 kB / 0.7912 GB, free: 8.09 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 7.839e-05/0.005772, allocations: 164.5 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.00579, allocations: 8.766 kB / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.005812, allocations: 12 kB / 0.7914 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.005814, allocations: 1.219 kB / 0.7914 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.005818, allocations: 0 / 0.7914 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.005821, allocations: 0 / 0.7914 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.614e-05/0.005917, allocations: 124.7 kB / 0.7915 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.005918, allocations: 0.875 kB / 0.7915 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.439e-05/0.005942, allocations: 11.98 kB / 0.7915 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.005945, allocations: 6.156 kB / 0.7915 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.005953, allocations: 4 kB / 0.7915 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.005954, allocations: 0 / 0.7915 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.005955, allocations: 0 / 0.7915 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.006057, allocations: 203.8 kB / 0.7917 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.006063, allocations: 0 / 0.7917 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.006072, allocations: 7.094 kB / 0.7917 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.006118, allocations: 7.984 kB / 0.7917 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.006152, allocations: 8.281 kB / 0.7917 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.006159, allocations: 4.125 kB / 0.7917 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.788e-05/0.006196, allocations: 131.2 kB / 0.7918 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006197, allocations: 0 / 0.7918 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000139/0.006336, allocations: 15.88 kB / 0.7919 GB, free: 7.336 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 6.835e-05/0.006404, allocations: 100.5 kB / 0.792 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.815e-05/0.006492, allocations: 27.66 kB / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.006493, allocations: 3.938 kB / 0.792 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.092e-05/0.006514, allocations: 24.3 kB / 0.792 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.006686, allocations: 6.281 kB / 0.792 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.006928, allocations: 147.1 kB / 0.7922 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.239e-05/0.00696, allocations: 56.3 kB / 0.7922 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.006987, allocations: 4.812 kB / 0.7922 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.007015, allocations: 13.44 kB / 0.7922 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.007015, allocations: 0 / 0.7922 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of Templates: time 0.002331/0.009346, allocations: 0.9404 MB / 0.7931 GB, free: 5.992 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.67508802562952]