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.001306/0.001306, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001464/0.001464, allocations: 181 kB / 23.36 MB, free: 1.133 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.9832/0.9832, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.329/2.329, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.363e-06/1.363e-06, allocations: 7.875 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.647e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002081/0.002098, allocations: 1.942 MB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1236/0.1257, allocations: 147 MB / 0.984 GB, free: 8.664 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.1258, allocations: 0 / 0.984 GB, free: 8.664 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.126, allocations: 27.73 kB / 0.9841 GB, free: 8.637 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.1263, allocations: 83.28 kB / 0.9841 GB, free: 8.555 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.1267, allocations: 271 kB / 0.9844 GB, free: 8.289 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.1269, allocations: 267 kB / 0.9847 GB, free: 8.027 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1271, allocations: 47.25 kB / 0.9847 GB, free: 7.984 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008852/0.128, allocations: 368.5 kB / 0.9851 GB, free: 7.699 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.199e-05/0.128, allocations: 75.83 kB / 0.9851 GB, free: 7.625 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.1281, allocations: 15.94 kB / 0.9851 GB, free: 7.609 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.1283, allocations: 175.7 kB / 0.9853 GB, free: 7.438 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.086e-05/0.1283, allocations: 47.81 kB / 0.9854 GB, free: 7.391 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.1e-05/0.1284, allocations: 71.81 kB / 0.9854 GB, free: 7.32 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.1287, allocations: 271 kB / 0.9857 GB, free: 7.055 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1287, allocations: 0 / 0.9857 GB, free: 7.055 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1287, allocations: 0 / 0.9857 GB, free: 7.055 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.1287, allocations: 0 / 0.9857 GB, free: 7.055 MB / 0.948 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.0005368/0.1293, allocations: 431.8 kB / 0.9861 GB, free: 6.609 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.1293, allocations: 12.03 kB / 0.9861 GB, free: 6.598 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005684/0.1299, allocations: 159.6 kB / 0.9863 GB, free: 6.441 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.13, allocations: 164.9 kB / 0.9864 GB, free: 6.254 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.022e-05/0.1301, allocations: 67.72 kB / 0.9865 GB, free: 6.176 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.1301, allocations: 16 kB / 0.9865 GB, free: 6.16 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.1304, allocations: 274.7 kB / 0.9868 GB, free: 5.848 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1304, allocations: 0 / 0.9868 GB, free: 5.848 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.1304, allocations: 8 kB / 0.9868 GB, free: 5.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1304, allocations: 7.938 kB / 0.9868 GB, free: 5.832 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.602e-05/0.1305, allocations: 75.81 kB / 0.9868 GB, free: 5.758 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/0.1313, allocations: 0.941 MB / 0.9878 GB, free: 4.773 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.1316, allocations: 145.2 kB / 0.9879 GB, free: 4.621 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.1316, allocations: 24.86 kB / 0.9879 GB, free: 4.594 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1316, allocations: 7.938 kB / 0.9879 GB, free: 4.586 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1316, allocations: 30.56 kB / 0.988 GB, free: 4.547 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.1316, allocations: 0 / 0.988 GB, free: 4.547 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.001102/0.1327, allocations: 345.8 kB / 0.9883 GB, free: 4.195 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.1328, allocations: 59.39 kB / 0.9883 GB, free: 4.125 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1329, allocations: 182.8 kB / 0.9885 GB, free: 3.934 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1329, allocations: 29.7 kB / 0.9885 GB, free: 3.898 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.133, allocations: 140.1 kB / 0.9887 GB, free: 3.758 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.133, allocations: 47.62 kB / 0.9887 GB, free: 3.711 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.1331, allocations: 49.62 kB / 0.9888 GB, free: 3.656 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.1332, allocations: 322.8 kB / 0.9891 GB, free: 3.332 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.806e-05/0.1332, allocations: 19.98 kB / 0.9891 GB, free: 3.312 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.1333, allocations: 80.64 kB / 0.9892 GB, free: 3.211 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1334, allocations: 117.6 kB / 0.9893 GB, free: 3.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1334, allocations: 4 kB / 0.9893 GB, free: 3.066 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005308/0.1339, allocations: 249.9 kB / 0.9895 GB, free: 2.809 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1339, allocations: 12 kB / 0.9895 GB, free: 2.797 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1339, allocations: 0 / 0.9895 GB, free: 2.797 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006827/0.1346, allocations: 240.3 kB / 0.9898 GB, free: 2.555 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.011e-05/0.1347, allocations: 35.91 kB / 0.9898 GB, free: 2.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.1365, allocations: 2.637 MB / 0.9924 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.1366, allocations: 28.03 kB / 0.9924 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.1366, allocations: 7.984 kB / 0.9924 GB, free: 15.65 MB / 0.9636 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.184e-05/0.1367, allocations: 116.7 kB / 0.9925 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.1367, allocations: 27.84 kB / 0.9926 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004381/0.1371, allocations: 255.2 kB / 0.9928 GB, free: 15.24 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1371, allocations: 4 kB / 0.9928 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/0.1371, allocations: 0 / 0.9928 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1371, allocations: 0 / 0.9928 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.1373, allocations: 137.6 kB / 0.9929 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1373, allocations: 4 kB / 0.9929 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.1373, allocations: 15.98 kB / 0.993 GB, free: 15.06 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005311/0.1379, allocations: 219.1 kB / 0.9932 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1379, allocations: 0 / 0.9932 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.1395, allocations: 2.655 MB / 0.9958 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1395, allocations: 4 kB / 0.9958 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.1399, allocations: 324.3 kB / 0.9961 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.1399, allocations: 27.77 kB / 0.9961 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.14, allocations: 8 kB / 0.9961 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.491e-05/0.14, allocations: 4 kB / 0.9961 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.1401, allocations: 19.95 kB / 0.9961 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.1401, allocations: 8 kB / 0.9961 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.027e-05/0.1401, allocations: 49.84 kB / 0.9962 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1401, allocations: 4 kB / 0.9962 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002303/0.1404, allocations: 75.89 kB / 0.9963 GB, free: 11.45 MB / 0.9636 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.0001299/0.1405, allocations: 96.34 kB / 0.9963 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003682/0.1409, allocations: 357.8 kB / 0.9967 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.1409, allocations: 4 kB / 0.9967 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.1411, allocations: 336.1 kB / 0.997 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.1413, allocations: 45.22 kB / 0.9971 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007249/0.142, allocations: 428.9 kB / 0.9975 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.454e-05/0.1421, allocations: 88.31 kB / 0.9975 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.458e-05/0.1422, allocations: 25.42 kB / 0.9976 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.1423, allocations: 91.34 kB / 0.9977 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.1423, allocations: 0 / 0.9977 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of Templates: time 0.006426/0.1487, allocations: 5.226 MB / 1.003 GB, free: 4.738 MB / 0.9636 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.382298205047846]