Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001182/0.001182, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001421/0.001421, allocations: 169 kB / 23.02 MB, free: 1.547 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.912/0.912, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.008/2.008, allocations: 429.5 MB / 0.6733 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.486e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002125/0.00214, allocations: 1.962 MB / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1211/0.1232, allocations: 147.6 MB / 1.024 GB, free: 208 kB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1233, allocations: 7.938 kB / 1.024 GB, free: 200 kB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.1235, allocations: 27.73 kB / 1.024 GB, free: 172 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.1238, allocations: 79.34 kB / 1.024 GB, free: 92 kB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.1244, allocations: 274.9 kB / 1.025 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.1247, allocations: 275 kB / 1.025 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1248, allocations: 54.58 kB / 1.025 GB, free: 15.5 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009341/0.1257, allocations: 348.5 kB / 1.025 GB, free: 15.22 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1258, allocations: 71.78 kB / 1.025 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.1259, allocations: 16 kB / 1.025 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.1261, allocations: 191.6 kB / 1.026 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.789e-05/0.1262, allocations: 43.83 kB / 1.026 GB, free: 14.9 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.1262, allocations: 63.88 kB / 1.026 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.1266, allocations: 271.1 kB / 1.026 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1266, allocations: 0 / 1.026 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1266, allocations: 0 / 1.026 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1266, allocations: 0 / 1.026 GB, free: 14.57 MB / 0.9948 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.0007402/0.1273, allocations: 0.5502 MB / 1.026 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.1274, allocations: 8.031 kB / 1.026 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006939/0.1281, allocations: 155.5 kB / 1.027 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.1283, allocations: 175.7 kB / 1.027 GB, free: 13.63 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.61e-05/0.1284, allocations: 67.73 kB / 1.027 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.1284, allocations: 16 kB / 1.027 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.1287, allocations: 317.3 kB / 1.027 GB, free: 13.17 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1287, allocations: 0 / 1.027 GB, free: 13.17 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.1288, allocations: 8 kB / 1.027 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1288, allocations: 7.938 kB / 1.027 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.1289, allocations: 99.8 kB / 1.027 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009788/0.1299, allocations: 1.406 MB / 1.029 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/0.1303, allocations: 167.1 kB / 1.029 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.1303, allocations: 43.67 kB / 1.029 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1304, allocations: 7.984 kB / 1.029 GB, free: 11.35 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1304, allocations: 41.33 kB / 1.029 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.1304, allocations: 0 / 1.029 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12): time 0.001168/0.1315, allocations: 400.5 kB / 1.029 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.1316, allocations: 55.34 kB / 1.029 GB, free: 10.83 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.1317, allocations: 234.6 kB / 1.03 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1317, allocations: 29.7 kB / 1.03 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.1318, allocations: 190.8 kB / 1.03 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.1318, allocations: 39.67 kB / 1.03 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.1319, allocations: 59.3 kB / 1.03 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.132, allocations: 0.4962 MB / 1.03 GB, free: 9.742 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.03e-05/0.1321, allocations: 27.97 kB / 1.03 GB, free: 9.715 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.547e-05/0.1322, allocations: 115.1 kB / 1.03 GB, free: 9.57 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.1323, allocations: 157.4 kB / 1.031 GB, free: 9.383 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1323, allocations: 0 / 1.031 GB, free: 9.383 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006127/0.1329, allocations: 304.4 kB / 1.031 GB, free: 9.07 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1329, allocations: 10.34 kB / 1.031 GB, free: 9.062 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1329, allocations: 0 / 1.031 GB, free: 9.062 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007773/0.1337, allocations: 251.3 kB / 1.031 GB, free: 8.809 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.684e-05/0.1338, allocations: 39.91 kB / 1.031 GB, free: 8.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.1361, allocations: 3.792 MB / 1.035 GB, free: 4.719 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.1362, allocations: 19.83 kB / 1.035 GB, free: 4.699 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.1362, allocations: 15.98 kB / 1.035 GB, free: 4.684 MB / 0.9948 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 8.769e-05/0.1363, allocations: 164.6 kB / 1.035 GB, free: 4.512 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.1363, allocations: 15.91 kB / 1.035 GB, free: 4.496 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005529/0.1369, allocations: 314.1 kB / 1.035 GB, free: 4.18 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1369, allocations: 3.984 kB / 1.035 GB, free: 4.176 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.82e-07/0.1369, allocations: 0 / 1.035 GB, free: 4.176 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1369, allocations: 7.984 kB / 1.035 GB, free: 4.168 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.1371, allocations: 188.4 kB / 1.036 GB, free: 3.949 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1371, allocations: 0 / 1.036 GB, free: 3.949 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.391e-05/0.1371, allocations: 23.92 kB / 1.036 GB, free: 3.926 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000601/0.1377, allocations: 223.1 kB / 1.036 GB, free: 3.699 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1377, allocations: 0 / 1.036 GB, free: 3.699 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/0.1398, allocations: 3.827 MB / 1.04 GB, free: 15.61 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1398, allocations: 4 kB / 1.04 GB, free: 15.61 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005474/0.1403, allocations: 421 kB / 1.04 GB, free: 15.17 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.1404, allocations: 39.77 kB / 1.04 GB, free: 15.13 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1404, allocations: 0 / 1.04 GB, free: 15.13 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1405, allocations: 15.92 kB / 1.04 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.1405, allocations: 19.97 kB / 1.04 GB, free: 15.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1406, allocations: 7.984 kB / 1.04 GB, free: 15.09 MB / 1.01 GB Notification: Performance of sorting global known variables: time 8.236e-05/0.1406, allocations: 164.7 kB / 1.04 GB, free: 14.93 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.1406, allocations: 0 / 1.04 GB, free: 14.93 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000274/0.1409, allocations: 79.89 kB / 1.04 GB, free: 14.85 MB / 1.01 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.0001549/0.1411, allocations: 115.2 kB / 1.04 GB, free: 14.73 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005334/0.1416, allocations: 499.5 kB / 1.041 GB, free: 14.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1416, allocations: 0 / 1.041 GB, free: 14.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.1419, allocations: 451.1 kB / 1.041 GB, free: 13.72 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.1422, allocations: 55.89 kB / 1.041 GB, free: 13.67 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008153/0.143, allocations: 418.7 kB / 1.042 GB, free: 13.23 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.302e-05/0.143, allocations: 84.31 kB / 1.042 GB, free: 13.13 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 9.687e-05/0.1431, allocations: 29.56 kB / 1.042 GB, free: 13.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.1432, allocations: 28.48 kB / 1.042 GB, free: 13.07 MB / 1.01 GB Notification: Performance of SimCode: time 5.71e-07/0.1432, allocations: 0 / 1.042 GB, free: 13.07 MB / 1.01 GB Notification: Performance of Templates: time 0.006507/0.1497, allocations: 5.2 MB / 1.047 GB, free: 7.953 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.902610628865659]