Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.0008778/0.0008778, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.00094/0.00094, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9288/0.9288, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.886/1.886, allocations: 377.8 MB / 0.6239 GB, free: 8.582 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.892e-05, allocations: 8.016 kB / 0.8115 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001839/0.001858, allocations: 1.547 MB / 0.813 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1094/0.1112, allocations: 127.4 MB / 0.9375 GB, free: 0.7227 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/0.1113, allocations: 4 kB / 0.9375 GB, free: 0.7188 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.1113, allocations: 3.938 kB / 0.9375 GB, free: 0.7148 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-05/0.1114, allocations: 15.84 kB / 0.9375 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.1118, allocations: 63.67 kB / 0.9375 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 8.41e-05/0.1119, allocations: 51.8 kB / 0.9376 GB, free: 0.5859 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 9.082e-05/0.1119, allocations: 15.98 kB / 0.9376 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 7.304e-05/0.112, allocations: 35.89 kB / 0.9376 GB, free: 0.5352 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 3.993e-05/0.1121, allocations: 11.98 kB / 0.9377 GB, free: 0.5234 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1121, allocations: 4 kB / 0.9377 GB, free: 0.5195 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 8.542e-05/0.1122, allocations: 27.92 kB / 0.9377 GB, free: 0.4922 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.1122, allocations: 11.94 kB / 0.9377 GB, free: 492 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.1122, allocations: 15.92 kB / 0.9377 GB, free: 476 kB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.1123, allocations: 47.88 kB / 0.9378 GB, free: 428 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1123, allocations: 0 / 0.9378 GB, free: 428 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.021e-06/0.1123, allocations: 0 / 0.9378 GB, free: 428 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1123, allocations: 4 kB / 0.9378 GB, free: 424 kB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003741/0.1127, allocations: 392.5 kB / 0.9381 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1128, allocations: 12.03 kB / 0.9381 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.1128, allocations: 4.938 kB / 0.9381 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.375e-05/0.1129, allocations: 116.5 kB / 0.9383 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1129, allocations: 384 / 0.9383 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1129, allocations: 8.375 kB / 0.9383 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.113, allocations: 74.8 kB / 0.9383 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1131, allocations: 4.188 kB / 0.9383 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1131, allocations: 384 / 0.9383 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1131, allocations: 4.375 kB / 0.9383 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.876e-05/0.1131, allocations: 15.84 kB / 0.9384 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.1134, allocations: 275.7 kB / 0.9386 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.618e-05/0.1135, allocations: 34.98 kB / 0.9387 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.435e-05/0.1135, allocations: 11.69 kB / 0.9387 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.1136, allocations: 20.08 kB / 0.9387 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.1136, allocations: 37.33 kB / 0.9387 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1136, allocations: 0 / 0.9387 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001589/0.1138, allocations: 53.64 kB / 0.9388 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.1138, allocations: 59.34 kB / 0.9388 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.882e-05/0.1139, allocations: 165.9 kB / 0.939 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.1139, allocations: 25.7 kB / 0.939 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.114, allocations: 134.9 kB / 0.9391 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.114, allocations: 3.953 kB / 0.9391 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.114, allocations: 27.36 kB / 0.9392 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.1141, allocations: 496.1 kB / 0.9396 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.1141, allocations: 4 kB / 0.9397 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.415e-05/0.1141, allocations: 4 kB / 0.9397 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.373e-05/0.1142, allocations: 19.67 kB / 0.9397 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1142, allocations: 4 kB / 0.9397 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.889e-05/0.1142, allocations: 53.81 kB / 0.9397 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1142, allocations: 10.64 kB / 0.9397 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1142, allocations: 0 / 0.9397 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1143, allocations: 4.047 kB / 0.9397 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.379e-05/0.1143, allocations: 11.98 kB / 0.9398 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1143, allocations: 3.984 kB / 0.9398 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.1143, allocations: 7.984 kB / 0.9398 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1144, allocations: 0 / 0.9398 GB, free: 14.15 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 5.657e-05/0.1144, allocations: 156.6 kB / 0.9399 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.1144, allocations: 15.89 kB / 0.9399 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.938e-05/0.1145, allocations: 53.67 kB / 0.94 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1145, allocations: 0 / 0.94 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1145, allocations: 7.938 kB / 0.94 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1145, allocations: 3.938 kB / 0.94 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.254e-05/0.1146, allocations: 124.6 kB / 0.9401 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.1146, allocations: 0 / 0.9401 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.1146, allocations: 11.98 kB / 0.9401 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.1146, allocations: 0 / 0.9401 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.1147, allocations: 3.938 kB / 0.9401 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1147, allocations: 8 kB / 0.9401 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1147, allocations: 0 / 0.9401 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.935e-05/0.1147, allocations: 187.9 kB / 0.9403 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.1148, allocations: 3.953 kB / 0.9403 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.1148, allocations: 11.94 kB / 0.9403 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.511e-05/0.1148, allocations: 7.984 kB / 0.9403 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.1149, allocations: 0 / 0.9403 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.1149, allocations: 0 / 0.9403 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.89e-05/0.1149, allocations: 139.1 kB / 0.9405 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1149, allocations: 0 / 0.9405 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001496/0.115, allocations: 12 kB / 0.9405 GB, free: 13.34 MB / 0.9011 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 (3): * Single equations (assignments): 3 * 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.0001185/0.1152, allocations: 111.2 kB / 0.9406 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 8.113e-05/0.1152, allocations: 27.67 kB / 0.9406 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.1152, allocations: 0 / 0.9406 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-05/0.1153, allocations: 11.69 kB / 0.9406 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.1155, allocations: 11.98 kB / 0.9406 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.1158, allocations: 154.2 kB / 0.9408 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.221e-05/0.1158, allocations: 59.34 kB / 0.9408 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.045e-05/0.1158, allocations: 4 kB / 0.9408 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.1158, allocations: 8.5 kB / 0.9409 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of SimCode: time 7.41e-07/0.1158, allocations: 0 / 0.9409 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of Templates: time 0.002498/0.1183, allocations: 1.014 MB / 0.9418 GB, free: 11.91 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.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.142727613914758]