Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.0009652/0.0009652, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.001027/0.001027, allocations: 161 kB / 24.17 MB, free: 328 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 1.117/1.117, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.948/1.948, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077e-05/1.189e-05, allocations: 2.312 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002283/0.002295, allocations: 1.991 MB / 0.762 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1358/0.1381, allocations: 147 MB / 0.9056 GB, free: 1.254 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1382, allocations: 4 kB / 0.9056 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.1384, allocations: 27.72 kB / 0.9056 GB, free: 1.223 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.1387, allocations: 87.3 kB / 0.9057 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.1393, allocations: 259 kB / 0.9059 GB, free: 0.8828 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.1396, allocations: 275 kB / 0.9062 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1397, allocations: 47.25 kB / 0.9062 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009653/0.1407, allocations: 355.6 kB / 0.9066 GB, free: 300 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.1408, allocations: 75.77 kB / 0.9066 GB, free: 224 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.1408, allocations: 16 kB / 0.9067 GB, free: 208 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002776/0.1411, allocations: 183.6 kB / 0.9068 GB, free: 24 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.1412, allocations: 47.88 kB / 0.9069 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.1412, allocations: 71.81 kB / 0.9069 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.1416, allocations: 271 kB / 0.9072 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1416, allocations: 0 / 0.9072 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1416, allocations: 0 / 0.9072 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.1416, allocations: 0 / 0.9072 GB, free: 15.64 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005512/0.1421, allocations: 440 kB / 0.9076 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.1421, allocations: 12.03 kB / 0.9076 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006325/0.1428, allocations: 155.7 kB / 0.9078 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.143, allocations: 160.9 kB / 0.9079 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.143, allocations: 63.73 kB / 0.908 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.143, allocations: 16 kB / 0.908 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.1433, allocations: 290.6 kB / 0.9083 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1433, allocations: 0 / 0.9083 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.1433, allocations: 8 kB / 0.9083 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1434, allocations: 7.938 kB / 0.9083 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.247e-05/0.1434, allocations: 67.83 kB / 0.9084 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/0.1443, allocations: 0.9449 MB / 0.9093 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.1446, allocations: 133.3 kB / 0.9094 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.1446, allocations: 28.84 kB / 0.9094 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1447, allocations: 15.92 kB / 0.9095 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1447, allocations: 30.56 kB / 0.9095 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.1447, allocations: 0 / 0.9095 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.001009/0.1457, allocations: 349.7 kB / 0.9098 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.1457, allocations: 55.41 kB / 0.9099 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1458, allocations: 183.5 kB / 0.9101 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1458, allocations: 25.7 kB / 0.9101 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.1459, allocations: 140.1 kB / 0.9102 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.1459, allocations: 47.62 kB / 0.9103 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.146, allocations: 49.62 kB / 0.9103 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.334e-05/0.1461, allocations: 326.8 kB / 0.9106 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.1461, allocations: 19.98 kB / 0.9106 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.349e-05/0.1462, allocations: 78.77 kB / 0.9107 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.1463, allocations: 113.6 kB / 0.9108 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1463, allocations: 7.938 kB / 0.9108 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005107/0.1468, allocations: 248.5 kB / 0.9111 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1468, allocations: 10.66 kB / 0.9111 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1468, allocations: 0 / 0.9111 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007133/0.1475, allocations: 236.3 kB / 0.9113 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/0.1476, allocations: 39.91 kB / 0.9113 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.1495, allocations: 2.64 MB / 0.9139 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.1496, allocations: 23.88 kB / 0.9139 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1496, allocations: 4 kB / 0.9139 GB, free: 8.246 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 7.987e-05/0.1497, allocations: 128.6 kB / 0.9141 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.1497, allocations: 24.11 kB / 0.9141 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004623/0.1502, allocations: 247.3 kB / 0.9143 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1502, allocations: 7.938 kB / 0.9143 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.1502, allocations: 4 kB / 0.9143 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1502, allocations: 3.984 kB / 0.9143 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.1504, allocations: 129.7 kB / 0.9145 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1504, allocations: 0 / 0.9145 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.1504, allocations: 19.98 kB / 0.9145 GB, free: 7.648 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005553/0.151, allocations: 215.1 kB / 0.9147 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.151, allocations: 7.984 kB / 0.9147 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.1526, allocations: 2.656 MB / 0.9173 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1526, allocations: 0 / 0.9173 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004447/0.153, allocations: 324.3 kB / 0.9176 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.1531, allocations: 35.75 kB / 0.9176 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.1531, allocations: 8 kB / 0.9176 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.1532, allocations: 7.984 kB / 0.9176 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.1532, allocations: 19.97 kB / 0.9177 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.1533, allocations: 4 kB / 0.9177 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.342e-05/0.1533, allocations: 45.06 kB / 0.9177 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1533, allocations: 0 / 0.9177 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002574/0.1536, allocations: 79.92 kB / 0.9178 GB, free: 4.031 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001307/0.1537, allocations: 96.36 kB / 0.9179 GB, free: 3.93 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003957/0.1541, allocations: 364.4 kB / 0.9182 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1541, allocations: 4.062 kB / 0.9182 GB, free: 3.543 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.1543, allocations: 329.7 kB / 0.9185 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.1545, allocations: 51.95 kB / 0.9186 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007419/0.1553, allocations: 425 kB / 0.919 GB, free: 2.699 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.851e-05/0.1553, allocations: 76.33 kB / 0.9191 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.39e-05/0.1554, allocations: 29.56 kB / 0.9191 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.1555, allocations: 95.31 kB / 0.9192 GB, free: 2.484 MB / 0.8698 GB Notification: Performance of SimCode: time 1.001e-06/0.1556, allocations: 4 kB / 0.9192 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of Templates: time 0.00681/0.1624, allocations: 5.236 MB / 0.9243 GB, free: 13.32 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.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.37781483028084]