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.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.0009958/0.0009958, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001094/0.001094, allocations: 169 kB / 23.28 MB, free: 1.223 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.126/1.126, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.382/2.382, allocations: 438.1 MB / 0.682 GB, free: 14.12 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8897 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.616e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002569/0.002595, allocations: 1.549 MB / 0.8912 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003664/0.002961, allocations: 135.5 kB / 0.8914 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.00301, allocations: 0 / 0.8914 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.003041, allocations: 7.922 kB / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.865e-05/0.003099, allocations: 7.875 kB / 0.8914 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.00337, allocations: 71.83 kB / 0.8914 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.599e-05/0.003466, allocations: 55.84 kB / 0.8915 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.58e-05/0.003562, allocations: 8 kB / 0.8915 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.372e-05/0.003646, allocations: 39.89 kB / 0.8915 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.003698, allocations: 15.97 kB / 0.8916 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.003722, allocations: 12 kB / 0.8916 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.003735, allocations: 4 kB / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.212e-05/0.003767, allocations: 15.92 kB / 0.8916 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.003792, allocations: 15.98 kB / 0.8916 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.003902, allocations: 51.8 kB / 0.8917 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.003905, allocations: 0 / 0.8917 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003905, allocations: 0 / 0.8917 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.00391, allocations: 0 / 0.8917 GB, free: 7.758 MB / 0.8542 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.0003877/0.004297, allocations: 392.1 kB / 0.892 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.004342, allocations: 12.62 kB / 0.892 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.004382, allocations: 12.89 kB / 0.8921 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.085e-05/0.004462, allocations: 120.5 kB / 0.8922 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-05/0.004522, allocations: 55.97 kB / 0.8922 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.004533, allocations: 4.375 kB / 0.8922 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.004654, allocations: 100.6 kB / 0.8923 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.00466, allocations: 192 / 0.8923 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.004672, allocations: 4.359 kB / 0.8923 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.004679, allocations: 4.125 kB / 0.8923 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.178e-05/0.00471, allocations: 11.98 kB / 0.8923 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.005133, allocations: 272.4 kB / 0.8926 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.411e-05/0.005207, allocations: 47.05 kB / 0.8926 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.005231, allocations: 15.62 kB / 0.8927 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.005246, allocations: 4.078 kB / 0.8927 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.005286, allocations: 41.33 kB / 0.8927 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 2.484e-06/0.005289, allocations: 0 / 0.8927 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001578/0.005447, allocations: 53.64 kB / 0.8928 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.005479, allocations: 51.41 kB / 0.8928 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.837e-05/0.005577, allocations: 169.8 kB / 0.893 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.005594, allocations: 29.7 kB / 0.893 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.005669, allocations: 134.9 kB / 0.8931 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.00569, allocations: 15.83 kB / 0.8931 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.005732, allocations: 27.36 kB / 0.8932 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.005887, allocations: 496.1 kB / 0.8936 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.005903, allocations: 0 / 0.8936 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.168e-05/0.005935, allocations: 31.34 kB / 0.8937 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.069e-05/0.005995, allocations: 27.38 kB / 0.8937 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.005998, allocations: 0 / 0.8937 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.892e-05/0.006097, allocations: 57.61 kB / 0.8938 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.006118, allocations: 18.28 kB / 0.8938 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.006125, allocations: 0 / 0.8938 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.006139, allocations: 0 / 0.8938 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.044e-05/0.006219, allocations: 11.98 kB / 0.8938 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.006223, allocations: 4 kB / 0.8938 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.006245, allocations: 0 / 0.8938 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.006252, allocations: 4 kB / 0.8938 GB, free: 5.344 MB / 0.8542 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.0001102/0.006362, allocations: 156.5 kB / 0.8939 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.006396, allocations: 15.89 kB / 0.894 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.006435, allocations: 8 kB / 0.894 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.006439, allocations: 0 / 0.894 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.006442, allocations: 0 / 0.894 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.006447, allocations: 4 kB / 0.894 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.006629, allocations: 105.2 kB / 0.8941 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.006635, allocations: 4 kB / 0.8941 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.986e-05/0.006674, allocations: 7.984 kB / 0.8941 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.006678, allocations: 0 / 0.8941 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.006688, allocations: 4.234 kB / 0.8941 GB, free: 5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.006694, allocations: 8.062 kB / 0.8941 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.006695, allocations: 3.938 kB / 0.8941 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.006924, allocations: 203.9 kB / 0.8943 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.006937, allocations: 7.953 kB / 0.8943 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.006949, allocations: 0 / 0.8943 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.203e-05/0.007011, allocations: 11.92 kB / 0.8943 GB, free: 4.75 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.007063, allocations: 8 kB / 0.8943 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.007074, allocations: 3.984 kB / 0.8943 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.639e-05/0.00715, allocations: 131.5 kB / 0.8944 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.00715, allocations: 0 / 0.8944 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001807/0.007331, allocations: 11.94 kB / 0.8945 GB, free: 4.598 MB / 0.8542 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.0001638/0.007495, allocations: 95.25 kB / 0.8945 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.007632, allocations: 27.67 kB / 0.8946 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.007636, allocations: 3.938 kB / 0.8946 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.905e-05/0.007665, allocations: 19.67 kB / 0.8946 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.007929, allocations: 4 kB / 0.8946 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.008328, allocations: 134.2 kB / 0.8947 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.971e-05/0.008378, allocations: 55.36 kB / 0.8948 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.135e-05/0.008419, allocations: 12.05 kB / 0.8948 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.008535, allocations: 94.17 kB / 0.8949 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of SimCode: time 1.232e-06/0.008536, allocations: 0 / 0.8949 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of Templates: time 0.003762/0.0123, allocations: 0.9529 MB / 0.8958 GB, free: 3.152 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.389477658085525]