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.001273/0.001273, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001402/0.001402, allocations: 161 kB / 23.82 MB, free: 0.7539 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.942/0.942, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.797/1.797, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.914e-06/1.914e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.326e-05, allocations: 8.359 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002/0.002023, allocations: 1.543 MB / 0.813 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.111/0.113, allocations: 127.7 MB / 0.9377 GB, free: 92 kB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.1131, allocations: 0 / 0.9377 GB, free: 92 kB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 4.038e-05/0.1131, allocations: 3.938 kB / 0.9377 GB, free: 88 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 5.88e-05/0.1132, allocations: 7.875 kB / 0.9377 GB, free: 80 kB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.1136, allocations: 71.64 kB / 0.9378 GB, free: 8 kB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 9.886e-05/0.1137, allocations: 55.8 kB / 0.9379 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.001e-05/0.1137, allocations: 7.984 kB / 0.9379 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.569e-05/0.1138, allocations: 31.92 kB / 0.9379 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.256e-05/0.1139, allocations: 23.95 kB / 0.9379 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.1139, allocations: 4 kB / 0.9379 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.435e-05/0.114, allocations: 27.86 kB / 0.938 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.114, allocations: 4 kB / 0.938 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.114, allocations: 19.92 kB / 0.938 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.1141, allocations: 51.88 kB / 0.938 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1141, allocations: 0 / 0.938 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1141, allocations: 0 / 0.938 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1141, allocations: 4 kB / 0.938 GB, free: 15.78 MB / 0.9011 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.0003857/0.1145, allocations: 392.3 kB / 0.9384 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1146, allocations: 8.031 kB / 0.9384 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.1146, allocations: 8.938 kB / 0.9384 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.903e-05/0.1147, allocations: 120.5 kB / 0.9385 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1147, allocations: 384 / 0.9385 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1147, allocations: 8.312 kB / 0.9385 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1149, allocations: 70.92 kB / 0.9386 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1149, allocations: 192 / 0.9386 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1149, allocations: 4.375 kB / 0.9386 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.1149, allocations: 384 / 0.9386 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.644e-05/0.115, allocations: 15.94 kB / 0.9386 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.1153, allocations: 275.7 kB / 0.9389 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.259e-05/0.1154, allocations: 39.09 kB / 0.9389 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.584e-05/0.1154, allocations: 15.67 kB / 0.939 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.1155, allocations: 11.98 kB / 0.939 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.1155, allocations: 37.33 kB / 0.939 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1155, allocations: 4 kB / 0.939 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001683/0.1157, allocations: 57.58 kB / 0.9391 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.1157, allocations: 51.41 kB / 0.9391 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.1158, allocations: 165.9 kB / 0.9393 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.1158, allocations: 29.7 kB / 0.9393 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.1159, allocations: 130.9 kB / 0.9394 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.1159, allocations: 11.95 kB / 0.9394 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.1159, allocations: 19.36 kB / 0.9394 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.116, allocations: 0.4923 MB / 0.9399 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.116, allocations: 0 / 0.9399 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.392e-05/0.1161, allocations: 4 kB / 0.9399 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.1161, allocations: 23.67 kB / 0.94 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1161, allocations: 4 kB / 0.94 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.412e-05/0.1162, allocations: 45.53 kB / 0.94 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1162, allocations: 8 kB / 0.94 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1162, allocations: 3.984 kB / 0.94 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1162, allocations: 0 / 0.94 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.484e-05/0.1163, allocations: 8 kB / 0.94 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.1163, allocations: 3.984 kB / 0.94 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/0.1163, allocations: 7.984 kB / 0.94 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1163, allocations: 7.938 kB / 0.94 GB, free: 13.52 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 7.724e-05/0.1164, allocations: 160.6 kB / 0.9402 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.1164, allocations: 11.89 kB / 0.9402 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.1165, allocations: 53.94 kB / 0.9403 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1165, allocations: 48 / 0.9403 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1165, allocations: 7.984 kB / 0.9403 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1165, allocations: 4 kB / 0.9403 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.1166, allocations: 124.6 kB / 0.9404 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1166, allocations: 4 kB / 0.9404 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.1167, allocations: 11.98 kB / 0.9404 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1167, allocations: 4 kB / 0.9404 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1167, allocations: 3.938 kB / 0.9404 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1167, allocations: 0 / 0.9404 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1167, allocations: 0 / 0.9404 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.1168, allocations: 187.9 kB / 0.9406 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-06/0.1168, allocations: 7.953 kB / 0.9406 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1168, allocations: 3.938 kB / 0.9406 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.709e-05/0.1169, allocations: 7.984 kB / 0.9406 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.1169, allocations: 11.94 kB / 0.9406 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1169, allocations: 0 / 0.9406 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.983e-05/0.117, allocations: 127.2 kB / 0.9407 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.117, allocations: 4 kB / 0.9407 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001573/0.1171, allocations: 16 kB / 0.9408 GB, free: 12.71 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.0001269/0.1172, allocations: 111.2 kB / 0.9409 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 8.809e-05/0.1173, allocations: 19.67 kB / 0.9409 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1173, allocations: 0 / 0.9409 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.316e-05/0.1173, allocations: 15.62 kB / 0.9409 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.1176, allocations: 15.98 kB / 0.9409 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.1178, allocations: 146.2 kB / 0.9411 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.543e-05/0.1179, allocations: 55.34 kB / 0.9411 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.027e-05/0.1179, allocations: 4 kB / 0.9411 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.1179, allocations: 16.5 kB / 0.9411 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of SimCode: time 5.81e-07/0.1179, allocations: 0 / 0.9411 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of Templates: time 0.003047/0.121, allocations: 1.082 MB / 0.9422 GB, free: 11.2 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.030758589971811]