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.0009991/0.0009991, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009938/0.0009938, allocations: 169 kB / 23.27 MB, free: 1.223 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.9806/0.9806, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.404/2.404, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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 2.124e-06/2.124e-06, allocations: 0 / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.104e-05, allocations: 9.203 kB / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002307/0.002328, allocations: 1.938 MB / 0.8916 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.125/0.1273, allocations: 144.9 MB / 1.033 GB, free: 6.418 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.1275, allocations: 4 kB / 1.033 GB, free: 6.414 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.1276, allocations: 27.67 kB / 1.033 GB, free: 6.387 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.1279, allocations: 87.34 kB / 1.033 GB, free: 6.301 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.1284, allocations: 263 kB / 1.033 GB, free: 6.043 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.1287, allocations: 275 kB / 1.034 GB, free: 5.773 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.1288, allocations: 54.59 kB / 1.034 GB, free: 5.723 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.1299, allocations: 354.2 kB / 1.034 GB, free: 5.449 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.262e-05/0.13, allocations: 71.77 kB / 1.034 GB, free: 5.379 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.13, allocations: 16 kB / 1.034 GB, free: 5.363 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.1302, allocations: 183.6 kB / 1.034 GB, free: 5.184 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.1303, allocations: 47.81 kB / 1.034 GB, free: 5.137 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.1303, allocations: 59.88 kB / 1.034 GB, free: 5.078 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.1307, allocations: 271 kB / 1.035 GB, free: 4.812 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1307, allocations: 0 / 1.035 GB, free: 4.812 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1307, allocations: 4 kB / 1.035 GB, free: 4.809 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.1307, allocations: 0 / 1.035 GB, free: 4.809 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.0006061/0.1313, allocations: 0.5502 MB / 1.035 GB, free: 4.223 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1313, allocations: 12.03 kB / 1.035 GB, free: 4.211 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006125/0.1319, allocations: 159.5 kB / 1.035 GB, free: 4.055 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.1322, allocations: 171.7 kB / 1.036 GB, free: 3.859 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/0.1322, allocations: 63.73 kB / 1.036 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.1322, allocations: 16 kB / 1.036 GB, free: 3.77 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.1325, allocations: 297.3 kB / 1.036 GB, free: 3.426 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1325, allocations: 0 / 1.036 GB, free: 3.426 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.1326, allocations: 12 kB / 1.036 GB, free: 3.414 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1326, allocations: 15.88 kB / 1.036 GB, free: 3.398 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.266e-05/0.1327, allocations: 79.84 kB / 1.036 GB, free: 3.32 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009284/0.1336, allocations: 1.387 MB / 1.037 GB, free: 1.871 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.1339, allocations: 143.1 kB / 1.038 GB, free: 1.719 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.1339, allocations: 43.59 kB / 1.038 GB, free: 1.672 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.134, allocations: 4 kB / 1.038 GB, free: 1.668 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.134, allocations: 41.38 kB / 1.038 GB, free: 1.617 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.134, allocations: 0 / 1.038 GB, free: 1.617 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12): time 0.001053/0.135, allocations: 376.5 kB / 1.038 GB, free: 1.234 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.1351, allocations: 63.34 kB / 1.038 GB, free: 1.16 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.1354, allocations: 225.8 kB / 1.038 GB, free: 0.9219 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.1354, allocations: 29.7 kB / 1.038 GB, free: 0.8867 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.1355, allocations: 194.8 kB / 1.038 GB, free: 0.6875 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1355, allocations: 43.62 kB / 1.039 GB, free: 0.6445 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.1356, allocations: 51.33 kB / 1.039 GB, free: 0.5859 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1357, allocations: 0.4923 MB / 1.039 GB, free: 84 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/0.1358, allocations: 23.97 kB / 1.039 GB, free: 60 kB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-05/0.1358, allocations: 115.7 kB / 1.039 GB, free: 15.91 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.136, allocations: 138.9 kB / 1.039 GB, free: 15.75 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.136, allocations: 0 / 1.039 GB, free: 15.75 MB / 1.01 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005607/0.1365, allocations: 296.6 kB / 1.04 GB, free: 15.44 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1366, allocations: 4 kB / 1.04 GB, free: 15.44 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1366, allocations: 4 kB / 1.04 GB, free: 15.43 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007144/0.1373, allocations: 235.1 kB / 1.04 GB, free: 15.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.167e-05/0.1374, allocations: 39.97 kB / 1.04 GB, free: 15.16 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.1396, allocations: 3.742 MB / 1.044 GB, free: 11.17 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.1398, allocations: 23.83 kB / 1.044 GB, free: 11.15 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.1398, allocations: 8 kB / 1.044 GB, free: 11.14 MB / 1.01 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.441e-05/0.1399, allocations: 172.5 kB / 1.044 GB, free: 10.96 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.1399, allocations: 15.91 kB / 1.044 GB, free: 10.95 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004969/0.1404, allocations: 292.4 kB / 1.044 GB, free: 10.65 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1404, allocations: 4 kB / 1.044 GB, free: 10.65 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.1404, allocations: 0 / 1.044 GB, free: 10.65 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1404, allocations: 0 / 1.044 GB, free: 10.65 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.1405, allocations: 169 kB / 1.044 GB, free: 10.46 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1406, allocations: 0 / 1.044 GB, free: 10.46 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.093e-05/0.1406, allocations: 19.92 kB / 1.044 GB, free: 10.44 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005632/0.1412, allocations: 219.1 kB / 1.044 GB, free: 10.21 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1412, allocations: 4 kB / 1.044 GB, free: 10.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.143, allocations: 3.767 MB / 1.048 GB, free: 6.199 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.143, allocations: 0 / 1.048 GB, free: 6.199 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005029/0.1435, allocations: 402.8 kB / 1.048 GB, free: 5.777 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.1437, allocations: 43.75 kB / 1.049 GB, free: 5.734 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.1437, allocations: 4 kB / 1.049 GB, free: 5.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1438, allocations: 4.125 kB / 1.049 GB, free: 5.727 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.1439, allocations: 31.95 kB / 1.049 GB, free: 5.695 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1439, allocations: 8 kB / 1.049 GB, free: 5.688 MB / 1.01 GB Notification: Performance of sorting global known variables: time 6.563e-05/0.144, allocations: 160.2 kB / 1.049 GB, free: 5.531 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.1e-08/0.144, allocations: 0 / 1.049 GB, free: 5.531 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002724/0.1442, allocations: 75.94 kB / 1.049 GB, free: 5.457 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.0001421/0.1444, allocations: 115.3 kB / 1.049 GB, free: 5.336 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004388/0.1448, allocations: 475.1 kB / 1.049 GB, free: 4.832 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1448, allocations: 0 / 1.049 GB, free: 4.832 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.1451, allocations: 461.4 kB / 1.05 GB, free: 4.344 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.1454, allocations: 51.83 kB / 1.05 GB, free: 4.293 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007585/0.1461, allocations: 425.6 kB / 1.05 GB, free: 3.848 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.248e-05/0.1462, allocations: 76.33 kB / 1.05 GB, free: 3.754 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 9.277e-05/0.1463, allocations: 25.48 kB / 1.05 GB, free: 3.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.1464, allocations: 118.2 kB / 1.05 GB, free: 3.613 MB / 1.01 GB Notification: Performance of SimCode: time 7.91e-07/0.1464, allocations: 0 / 1.05 GB, free: 3.613 MB / 1.01 GB Notification: Performance of Templates: time 0.3913/0.5377, allocations: 5.285 MB / 1.056 GB, free: 64.57 MB / 1.01 GB " [Timeout remaining time 299] 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.896471370942891]