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.0009534/0.0009534, 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.0009581/0.0009581, 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 1.02/1.02, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.831/1.831, 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.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.844e-06/1.844e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.624e-05, allocations: 3.75 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002065/0.002091, allocations: 1.542 MB / 0.7886 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1108/0.1129, allocations: 127.7 MB / 0.9133 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.113, allocations: 0 / 0.9133 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 4.29e-05/0.113, allocations: 3.938 kB / 0.9133 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/0.1131, allocations: 19.84 kB / 0.9133 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.1134, allocations: 67.61 kB / 0.9134 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 8.442e-05/0.1135, allocations: 59.78 kB / 0.9134 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.1136, allocations: 15.98 kB / 0.9134 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.112e-05/0.1137, allocations: 23.97 kB / 0.9135 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.927e-05/0.1137, allocations: 19.92 kB / 0.9135 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1137, allocations: 4 kB / 0.9135 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.496e-05/0.1138, allocations: 19.98 kB / 0.9135 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.1139, allocations: 15.92 kB / 0.9135 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.1139, allocations: 15.98 kB / 0.9135 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.114, allocations: 51.77 kB / 0.9136 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.114, allocations: 4 kB / 0.9136 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.122e-06/0.114, allocations: 0 / 0.9136 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.114, allocations: 0 / 0.9136 GB, free: 10.54 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.0003998/0.1144, allocations: 392.4 kB / 0.914 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1145, allocations: 8.031 kB / 0.914 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.1145, allocations: 4.938 kB / 0.914 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.112e-05/0.1146, allocations: 116.6 kB / 0.9141 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1146, allocations: 4.375 kB / 0.9141 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.1146, allocations: 4.375 kB / 0.9141 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1148, allocations: 74.92 kB / 0.9142 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1148, allocations: 192 / 0.9142 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1148, allocations: 384 / 0.9142 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1148, allocations: 4.375 kB / 0.9142 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.635e-05/0.1148, allocations: 11.88 kB / 0.9142 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.1152, allocations: 271.7 kB / 0.9144 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.531e-05/0.1152, allocations: 39.05 kB / 0.9145 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/0.1153, allocations: 15.62 kB / 0.9145 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.1154, allocations: 12.08 kB / 0.9145 GB, free: 9.477 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.1154, allocations: 49.33 kB / 0.9146 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1154, allocations: 3.938 kB / 0.9146 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0001728/0.1156, allocations: 41.69 kB / 0.9146 GB, free: 9.367 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.1156, allocations: 51.41 kB / 0.9146 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.817e-05/0.1157, allocations: 177.9 kB / 0.9148 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.1157, allocations: 25.7 kB / 0.9148 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.1158, allocations: 134.8 kB / 0.915 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.1158, allocations: 11.89 kB / 0.915 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.1158, allocations: 27.36 kB / 0.915 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1159, allocations: 492.1 kB / 0.9155 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.1159, allocations: 8 kB / 0.9155 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.1159, allocations: 0 / 0.9155 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.116, allocations: 23.95 kB / 0.9155 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.116, allocations: 0 / 0.9155 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.079e-05/0.1161, allocations: 53.58 kB / 0.9156 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1161, allocations: 7.984 kB / 0.9156 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1161, allocations: 4 kB / 0.9156 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1161, allocations: 0 / 0.9156 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.1162, allocations: 11.94 kB / 0.9156 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1162, allocations: 0 / 0.9156 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.63e-05/0.1162, allocations: 11.98 kB / 0.9156 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1162, allocations: 4 kB / 0.9156 GB, free: 8.273 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.241e-05/0.1163, allocations: 152.6 kB / 0.9157 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.1163, allocations: 11.89 kB / 0.9158 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.1164, allocations: 57.66 kB / 0.9158 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1164, allocations: 4 kB / 0.9158 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1164, allocations: 0 / 0.9158 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1164, allocations: 0 / 0.9158 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.1165, allocations: 128.6 kB / 0.9159 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1165, allocations: 0 / 0.9159 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.1166, allocations: 15.98 kB / 0.916 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1166, allocations: 0 / 0.916 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.1166, allocations: 7.875 kB / 0.916 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1166, allocations: 0 / 0.916 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1166, allocations: 0 / 0.916 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.1167, allocations: 191.9 kB / 0.9161 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-06/0.1167, allocations: 3.953 kB / 0.9161 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.1167, allocations: 7.875 kB / 0.9162 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.033e-05/0.1167, allocations: 11.98 kB / 0.9162 GB, free: 7.621 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.1168, allocations: 4 kB / 0.9162 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.1168, allocations: 0 / 0.9162 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.1168, allocations: 139.2 kB / 0.9163 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1168, allocations: 0 / 0.9163 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001589/0.117, allocations: 12 kB / 0.9163 GB, free: 7.469 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.0001527/0.1171, allocations: 111.1 kB / 0.9164 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.569e-05/0.1172, allocations: 23.67 kB / 0.9164 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.1172, allocations: 0 / 0.9164 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.263e-05/0.1172, allocations: 15.69 kB / 0.9165 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.1175, allocations: 7.984 kB / 0.9165 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.1178, allocations: 166 kB / 0.9166 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.438e-05/0.1178, allocations: 55.36 kB / 0.9167 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.237e-05/0.1178, allocations: 0 / 0.9167 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.1179, allocations: 12.5 kB / 0.9167 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/0.1179, allocations: 4 kB / 0.9167 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of Templates: time 0.002894/0.1208, allocations: 1.013 MB / 0.9177 GB, free: 6.027 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: 5.168530088849366]