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.001015/0.001015, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001208/0.001208, allocations: 177 kB / 23.36 MB, free: 1.137 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 1.079/1.079, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.432/2.432, allocations: 438.8 MB / 0.6827 GB, free: 13.54 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.523e-06/1.523e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.648e-05, allocations: 8.922 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002414/0.00243, allocations: 1.985 MB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1351/0.1376, allocations: 147 MB / 0.9841 GB, free: 8.543 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1377, allocations: 0 / 0.9841 GB, free: 8.543 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.1378, allocations: 27.73 kB / 0.9842 GB, free: 8.516 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1381, allocations: 79.28 kB / 0.9842 GB, free: 8.438 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.1385, allocations: 263 kB / 0.9845 GB, free: 8.18 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000236/0.1388, allocations: 271 kB / 0.9847 GB, free: 7.914 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.1389, allocations: 55.17 kB / 0.9848 GB, free: 7.863 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.1401, allocations: 341.6 kB / 0.9851 GB, free: 7.594 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1402, allocations: 75.78 kB / 0.9852 GB, free: 7.52 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.1402, allocations: 12 kB / 0.9852 GB, free: 7.508 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.1405, allocations: 191.7 kB / 0.9854 GB, free: 7.32 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.1405, allocations: 43.83 kB / 0.9854 GB, free: 7.277 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.1406, allocations: 63.83 kB / 0.9855 GB, free: 7.215 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.1409, allocations: 275 kB / 0.9858 GB, free: 6.945 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1409, allocations: 0 / 0.9858 GB, free: 6.945 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1409, allocations: 0 / 0.9858 GB, free: 6.945 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1409, allocations: 0 / 0.9858 GB, free: 6.945 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.0005929/0.1415, allocations: 435.7 kB / 0.9862 GB, free: 6.496 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1415, allocations: 8.031 kB / 0.9862 GB, free: 6.488 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006685/0.1422, allocations: 163.7 kB / 0.9863 GB, free: 6.328 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.1424, allocations: 164.8 kB / 0.9865 GB, free: 6.141 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.1425, allocations: 63.73 kB / 0.9866 GB, free: 6.066 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.1425, allocations: 16 kB / 0.9866 GB, free: 6.051 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.1428, allocations: 274.7 kB / 0.9868 GB, free: 5.738 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1428, allocations: 4 kB / 0.9868 GB, free: 5.734 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.1428, allocations: 12 kB / 0.9868 GB, free: 5.723 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.1428, allocations: 7.938 kB / 0.9869 GB, free: 5.715 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.893e-05/0.1429, allocations: 67.81 kB / 0.9869 GB, free: 5.648 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007829/0.1437, allocations: 0.9488 MB / 0.9878 GB, free: 4.656 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.144, allocations: 133.3 kB / 0.988 GB, free: 4.516 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.144, allocations: 28.84 kB / 0.988 GB, free: 4.484 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.144, allocations: 7.938 kB / 0.988 GB, free: 4.477 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1441, allocations: 34.56 kB / 0.988 GB, free: 4.434 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.1441, allocations: 0 / 0.988 GB, free: 4.434 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.001012/0.1451, allocations: 349.7 kB / 0.9884 GB, free: 4.078 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.1451, allocations: 51.41 kB / 0.9884 GB, free: 4.016 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1452, allocations: 178.8 kB / 0.9886 GB, free: 3.828 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1452, allocations: 29.7 kB / 0.9886 GB, free: 3.793 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.1453, allocations: 148.1 kB / 0.9888 GB, free: 3.645 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.1453, allocations: 43.62 kB / 0.9888 GB, free: 3.602 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.1454, allocations: 49.62 kB / 0.9889 GB, free: 3.547 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.395e-05/0.1455, allocations: 322.8 kB / 0.9892 GB, free: 3.223 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.1455, allocations: 27.92 kB / 0.9892 GB, free: 3.195 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.223e-05/0.1456, allocations: 77.09 kB / 0.9893 GB, free: 3.098 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1457, allocations: 129.3 kB / 0.9894 GB, free: 2.949 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1457, allocations: 0 / 0.9894 GB, free: 2.949 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005136/0.1462, allocations: 246 kB / 0.9896 GB, free: 2.695 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1462, allocations: 5.406 kB / 0.9896 GB, free: 2.691 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.1462, allocations: 8 kB / 0.9896 GB, free: 2.684 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007134/0.1469, allocations: 240.2 kB / 0.9899 GB, free: 2.441 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.147, allocations: 35.95 kB / 0.9899 GB, free: 2.406 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.1491, allocations: 2.647 MB / 0.9925 GB, free: 15.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.1492, allocations: 27.88 kB / 0.9925 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1492, allocations: 11.98 kB / 0.9925 GB, free: 15.53 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.737e-05/0.1493, allocations: 120.6 kB / 0.9926 GB, free: 15.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.1493, allocations: 15.92 kB / 0.9926 GB, free: 15.38 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004596/0.1498, allocations: 259.2 kB / 0.9929 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1498, allocations: 4 kB / 0.9929 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.1498, allocations: 0 / 0.9929 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1498, allocations: 0 / 0.9929 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.1499, allocations: 133.7 kB / 0.993 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1499, allocations: 0 / 0.993 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.15, allocations: 20 kB / 0.993 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005853/0.1505, allocations: 219.1 kB / 0.9933 GB, free: 14.72 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1506, allocations: 4 kB / 0.9933 GB, free: 14.72 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/0.1522, allocations: 2.655 MB / 0.9959 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1522, allocations: 0 / 0.9959 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.1526, allocations: 332.8 kB / 0.9962 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.1526, allocations: 31.77 kB / 0.9962 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.1527, allocations: 0 / 0.9962 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1528, allocations: 12 kB / 0.9962 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.1528, allocations: 19.95 kB / 0.9962 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.1528, allocations: 4 kB / 0.9962 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.1529, allocations: 49.86 kB / 0.9963 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1529, allocations: 0 / 0.9963 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002258/0.1531, allocations: 79.89 kB / 0.9964 GB, free: 11.33 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.0001308/0.1532, allocations: 92.34 kB / 0.9964 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003897/0.1536, allocations: 365.8 kB / 0.9968 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1536, allocations: 0 / 0.9968 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.1539, allocations: 324.3 kB / 0.9971 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.1541, allocations: 48.03 kB / 0.9971 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007391/0.1548, allocations: 430.8 kB / 0.9976 GB, free: 10 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.704e-05/0.1548, allocations: 80.31 kB / 0.9976 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 9e-05/0.1549, allocations: 33.42 kB / 0.9977 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.1551, allocations: 87.34 kB / 0.9978 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of SimCode: time 8.52e-07/0.1551, allocations: 0 / 0.9978 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of Templates: time 0.006522/0.1616, allocations: 5.226 MB / 1.003 GB, free: 4.621 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 -s gbode -gbm=radauIIA3 -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.627216472756118]