Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009483/0.0009483, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009523/0.0009523, allocations: 163.2 kB / 24.87 MB, free: 8.684 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.9585/0.9585, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.776/1.776, allocations: 359 MB / 0.6063 GB, free: 10.91 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.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.626e-05, allocations: 3.188 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001825/0.001842, allocations: 1.54 MB / 0.7898 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.108/0.1098, allocations: 125.2 MB / 0.9121 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.1099, allocations: 0 / 0.9121 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.1099, allocations: 3.938 kB / 0.9121 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 5.954e-05/0.11, allocations: 7.922 kB / 0.9121 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.1103, allocations: 67.61 kB / 0.9122 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 7.857e-05/0.1104, allocations: 63.7 kB / 0.9122 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.556e-05/0.1105, allocations: 8 kB / 0.9122 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.543e-05/0.1106, allocations: 35.97 kB / 0.9123 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.152e-05/0.1106, allocations: 19.92 kB / 0.9123 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.1106, allocations: 4 kB / 0.9123 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.046e-05/0.1107, allocations: 19.98 kB / 0.9123 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.1107, allocations: 7.984 kB / 0.9123 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.1108, allocations: 15.92 kB / 0.9123 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.1109, allocations: 59.81 kB / 0.9124 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1109, allocations: 0 / 0.9124 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1109, allocations: 0 / 0.9124 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.1109, allocations: 3.938 kB / 0.9124 GB, free: 12.75 MB / 0.8698 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.0004652/0.1113, allocations: 392.4 kB / 0.9128 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1114, allocations: 8.031 kB / 0.9128 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.1114, allocations: 4.938 kB / 0.9128 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.735e-05/0.1115, allocations: 120.5 kB / 0.9129 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.1115, allocations: 384 / 0.9129 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.1115, allocations: 8.375 kB / 0.9129 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.1116, allocations: 62.94 kB / 0.913 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.1116, allocations: 192 / 0.913 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.1116, allocations: 4.375 kB / 0.913 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1116, allocations: 384 / 0.913 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.312e-05/0.1117, allocations: 15.88 kB / 0.913 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.1119, allocations: 256.3 kB / 0.9132 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.761e-05/0.112, allocations: 31.06 kB / 0.9133 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.112, allocations: 11.77 kB / 0.9133 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.653e-05/0.1121, allocations: 12 kB / 0.9133 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1121, allocations: 45.31 kB / 0.9133 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.1121, allocations: 0 / 0.9133 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0001179/0.1122, allocations: 41.64 kB / 0.9134 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.1122, allocations: 59.41 kB / 0.9134 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.371e-05/0.1123, allocations: 170 kB / 0.9136 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.1123, allocations: 29.7 kB / 0.9136 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.1123, allocations: 138.8 kB / 0.9137 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.1124, allocations: 3.953 kB / 0.9138 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.1124, allocations: 23.38 kB / 0.9138 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1125, allocations: 0.4884 MB / 0.9143 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.1125, allocations: 7.938 kB / 0.9143 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-06/0.1125, allocations: 3.938 kB / 0.9143 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.782e-05/0.1125, allocations: 19.67 kB / 0.9143 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1125, allocations: 0 / 0.9143 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.53e-05/0.1126, allocations: 45.66 kB / 0.9143 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1126, allocations: 11.94 kB / 0.9143 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1126, allocations: 0 / 0.9143 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.1126, allocations: 0 / 0.9143 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.1127, allocations: 11.98 kB / 0.9143 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.1127, allocations: 3.938 kB / 0.9144 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/0.1127, allocations: 7.984 kB / 0.9144 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-06/0.1127, allocations: 0 / 0.9144 GB, free: 10.54 MB / 0.8698 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.555e-05/0.1128, allocations: 156.6 kB / 0.9145 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.1128, allocations: 11.95 kB / 0.9145 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.468e-05/0.1129, allocations: 57.94 kB / 0.9146 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1129, allocations: 0 / 0.9146 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1129, allocations: 4 kB / 0.9146 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1129, allocations: 3.984 kB / 0.9146 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.864e-05/0.113, allocations: 105.2 kB / 0.9147 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.113, allocations: 0 / 0.9147 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.113, allocations: 11.98 kB / 0.9147 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.113, allocations: 0 / 0.9147 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.113, allocations: 0 / 0.9147 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.113, allocations: 0 / 0.9147 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.113, allocations: 15.88 kB / 0.9147 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.35e-05/0.1131, allocations: 187.9 kB / 0.9149 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-06/0.1131, allocations: 3.953 kB / 0.9149 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-06/0.1131, allocations: 0 / 0.9149 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.63e-05/0.1131, allocations: 7.984 kB / 0.9149 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.1132, allocations: 15.92 kB / 0.9149 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.1132, allocations: 0 / 0.9149 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.124e-05/0.1132, allocations: 127.6 kB / 0.915 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1132, allocations: 0 / 0.915 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000151/0.1133, allocations: 12 kB / 0.9151 GB, free: 9.766 MB / 0.8698 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.0001181/0.1135, allocations: 115.2 kB / 0.9152 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.435e-05/0.1135, allocations: 23.61 kB / 0.9152 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.1135, allocations: 3.938 kB / 0.9152 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.092e-05/0.1135, allocations: 15.69 kB / 0.9152 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.1137, allocations: 18.08 kB / 0.9152 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.114, allocations: 158 kB / 0.9154 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.822e-05/0.114, allocations: 55.36 kB / 0.9154 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.382e-05/0.114, allocations: 11.97 kB / 0.9154 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.1141, allocations: 74.2 kB / 0.9155 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of SimCode: time 1.162e-06/0.1141, allocations: 0 / 0.9155 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of Templates: time 0.002516/0.1166, allocations: 1.13 MB / 0.9166 GB, free: 8.125 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.978451977018267]