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.0009365/0.0009365, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009386/0.0009386, allocations: 161 kB / 23.82 MB, free: 0.75 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.9224/0.9224, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.676/1.676, allocations: 359 MB / 0.6052 GB, free: 11 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.192e-06/1.192e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.718e-05, allocations: 4.281 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00169/0.001707, allocations: 1.545 MB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.109/0.1107, allocations: 127.7 MB / 0.9133 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.1108, allocations: 0 / 0.9133 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 5.833e-05/0.1109, allocations: 3.938 kB / 0.9133 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 8.152e-05/0.1109, allocations: 11.86 kB / 0.9133 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.1115, allocations: 79.59 kB / 0.9134 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.1116, allocations: 47.8 kB / 0.9134 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1117, allocations: 15.98 kB / 0.9134 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.218e-05/0.1118, allocations: 31.91 kB / 0.9135 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.1118, allocations: 15.98 kB / 0.9135 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1118, allocations: 7.984 kB / 0.9135 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1119, allocations: 19.98 kB / 0.9135 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.1119, allocations: 11.94 kB / 0.9135 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.112, allocations: 11.98 kB / 0.9135 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.1121, allocations: 55.75 kB / 0.9136 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1121, allocations: 8 kB / 0.9136 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1121, allocations: 0 / 0.9136 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.1121, allocations: 0 / 0.9136 GB, free: 10.5 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.0004274/0.1126, allocations: 388.4 kB / 0.914 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1126, allocations: 12.03 kB / 0.914 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.1127, allocations: 4.938 kB / 0.914 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.554e-05/0.1128, allocations: 112.6 kB / 0.9141 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1128, allocations: 8.359 kB / 0.9141 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.1128, allocations: 4.375 kB / 0.9141 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1129, allocations: 70.94 kB / 0.9142 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.1129, allocations: 192 / 0.9142 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1129, allocations: 384 / 0.9142 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1129, allocations: 384 / 0.9142 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.405e-05/0.113, allocations: 15.88 kB / 0.9142 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.1133, allocations: 275.7 kB / 0.9145 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.929e-05/0.1134, allocations: 35.05 kB / 0.9145 GB, free: 9.473 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.1134, allocations: 15.62 kB / 0.9145 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.1135, allocations: 20.02 kB / 0.9145 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1135, allocations: 41.33 kB / 0.9146 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.1135, allocations: 3.984 kB / 0.9146 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0001654/0.1137, allocations: 45.69 kB / 0.9146 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.1137, allocations: 55.41 kB / 0.9147 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.454e-05/0.1138, allocations: 169.9 kB / 0.9148 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.1138, allocations: 25.7 kB / 0.9149 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.1139, allocations: 146.8 kB / 0.915 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.1139, allocations: 7.938 kB / 0.915 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.1139, allocations: 23.38 kB / 0.915 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.114, allocations: 496.1 kB / 0.9155 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.114, allocations: 8 kB / 0.9155 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.477e-05/0.1141, allocations: 7.984 kB / 0.9155 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.3e-05/0.1141, allocations: 11.69 kB / 0.9155 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1141, allocations: 0 / 0.9155 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.132e-05/0.1141, allocations: 53.58 kB / 0.9156 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1142, allocations: 8 kB / 0.9156 GB, free: 8.266 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.1142, allocations: 0 / 0.9156 GB, free: 8.266 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1142, allocations: 0 / 0.9156 GB, free: 8.266 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.1142, allocations: 11.94 kB / 0.9156 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1142, allocations: 0 / 0.9156 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.1143, allocations: 15.98 kB / 0.9156 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.1143, allocations: 3.984 kB / 0.9156 GB, free: 8.234 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 6.033e-05/0.1143, allocations: 160.6 kB / 0.9158 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.1144, allocations: 7.891 kB / 0.9158 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.982e-05/0.1144, allocations: 53.67 kB / 0.9158 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1144, allocations: 0 / 0.9158 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1145, allocations: 0 / 0.9158 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1145, allocations: 0 / 0.9158 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.337e-05/0.1145, allocations: 124.6 kB / 0.9159 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1145, allocations: 0 / 0.9159 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.1146, allocations: 15.98 kB / 0.916 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1146, allocations: 3.938 kB / 0.916 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1146, allocations: 11.94 kB / 0.916 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.1146, allocations: 0 / 0.916 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1146, allocations: 0 / 0.916 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.1147, allocations: 191.9 kB / 0.9162 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.1147, allocations: 7.953 kB / 0.9162 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1147, allocations: 3.938 kB / 0.9162 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.59e-05/0.1148, allocations: 7.984 kB / 0.9162 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.1148, allocations: 432 / 0.9162 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.1148, allocations: 8 kB / 0.9162 GB, free: 7.578 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.58e-05/0.1148, allocations: 131.2 kB / 0.9163 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1148, allocations: 0 / 0.9163 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001478/0.115, allocations: 12 kB / 0.9163 GB, free: 7.438 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.0001323/0.1151, allocations: 115.1 kB / 0.9164 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.557e-05/0.1152, allocations: 27.66 kB / 0.9165 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.1152, allocations: 0 / 0.9165 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.133e-05/0.1152, allocations: 11.69 kB / 0.9165 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.1154, allocations: 19.98 kB / 0.9165 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.1157, allocations: 154 kB / 0.9166 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.368e-05/0.1157, allocations: 55.36 kB / 0.9167 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.21e-05/0.1158, allocations: 4 kB / 0.9167 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.1158, allocations: 8.5 kB / 0.9167 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of SimCode: time 4.61e-07/0.1158, allocations: 8 kB / 0.9167 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of Templates: time 0.002594/0.1184, allocations: 1.089 MB / 0.9178 GB, free: 5.91 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.901878277771175]