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.001437/0.001437, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001466/0.001466, allocations: 173 kB / 23.49 MB, free: 1.059 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.9402/0.9402, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.12/2.12, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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.363e-06/1.363e-06, allocations: 0 / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.801e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002292/0.00232, allocations: 1.95 MB / 0.8801 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1212/0.1235, allocations: 151.2 MB / 1.028 GB, free: 13 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.1236, allocations: 4 kB / 1.028 GB, free: 12.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.1238, allocations: 27.67 kB / 1.028 GB, free: 12.96 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.1241, allocations: 87.34 kB / 1.028 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005794/0.1247, allocations: 262.9 kB / 1.028 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.125, allocations: 271 kB / 1.028 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.1251, allocations: 54.59 kB / 1.028 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.1262, allocations: 356.1 kB / 1.029 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1263, allocations: 67.84 kB / 1.029 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.1263, allocations: 16 kB / 1.029 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.1266, allocations: 179.6 kB / 1.029 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.1267, allocations: 47.81 kB / 1.029 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 7.622e-05/0.1267, allocations: 71.83 kB / 1.029 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003734/0.1271, allocations: 271 kB / 1.029 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1271, allocations: 4 kB / 1.029 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1271, allocations: 4 kB / 1.029 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.1271, allocations: 0 / 1.029 GB, free: 11.36 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.0007086/0.1278, allocations: 0.5461 MB / 1.03 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1279, allocations: 8.031 kB / 1.03 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008647/0.1287, allocations: 151.4 kB / 1.03 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.129, allocations: 179.7 kB / 1.03 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/0.129, allocations: 63.73 kB / 1.03 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.1291, allocations: 19.94 kB / 1.03 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.1294, allocations: 313.3 kB / 1.031 GB, free: 9.969 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.1294, allocations: 0 / 1.031 GB, free: 9.969 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.1295, allocations: 8 kB / 1.031 GB, free: 9.961 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1295, allocations: 4 kB / 1.031 GB, free: 9.957 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.1297, allocations: 103.8 kB / 1.031 GB, free: 9.855 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.1308, allocations: 1.413 MB / 1.032 GB, free: 8.371 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.1313, allocations: 159.1 kB / 1.032 GB, free: 8.203 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.972e-05/0.1313, allocations: 47.66 kB / 1.032 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1313, allocations: 0 / 1.032 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1314, allocations: 37.39 kB / 1.032 GB, free: 8.105 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.1314, allocations: 0 / 1.032 GB, free: 8.105 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12): time 0.001465/0.1328, allocations: 396.8 kB / 1.033 GB, free: 7.703 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.1329, allocations: 55.34 kB / 1.033 GB, free: 7.637 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.133, allocations: 246.5 kB / 1.033 GB, free: 7.379 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1331, allocations: 25.7 kB / 1.033 GB, free: 7.348 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.1331, allocations: 194.9 kB / 1.033 GB, free: 7.152 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.1332, allocations: 47.59 kB / 1.033 GB, free: 7.105 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-05/0.1332, allocations: 51.33 kB / 1.033 GB, free: 7.047 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1334, allocations: 0.4923 MB / 1.034 GB, free: 6.543 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.1334, allocations: 35.92 kB / 1.034 GB, free: 6.508 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1336, allocations: 149.3 kB / 1.034 GB, free: 6.32 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.1338, allocations: 160.8 kB / 1.034 GB, free: 6.133 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1338, allocations: 0 / 1.034 GB, free: 6.133 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007952/0.1346, allocations: 308.5 kB / 1.034 GB, free: 5.816 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1346, allocations: 7.938 kB / 1.034 GB, free: 5.809 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1346, allocations: 11.94 kB / 1.034 GB, free: 5.797 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009871/0.1356, allocations: 243.3 kB / 1.035 GB, free: 5.551 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1357, allocations: 31.97 kB / 1.035 GB, free: 5.52 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.1383, allocations: 3.793 MB / 1.038 GB, free: 1.469 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.1385, allocations: 27.84 kB / 1.038 GB, free: 1.441 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.1385, allocations: 11.98 kB / 1.038 GB, free: 1.43 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 9.661e-05/0.1386, allocations: 172.5 kB / 1.039 GB, free: 1.25 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.1387, allocations: 15.91 kB / 1.039 GB, free: 1.234 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006993/0.1394, allocations: 308.4 kB / 1.039 GB, free: 0.9258 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1394, allocations: 0 / 1.039 GB, free: 0.9258 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1394, allocations: 3.938 kB / 1.039 GB, free: 0.9219 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1394, allocations: 0 / 1.039 GB, free: 0.9219 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.1396, allocations: 196.5 kB / 1.039 GB, free: 0.6953 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1396, allocations: 4 kB / 1.039 GB, free: 0.6914 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.891e-05/0.1397, allocations: 23.94 kB / 1.039 GB, free: 0.668 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007617/0.1404, allocations: 219.3 kB / 1.039 GB, free: 456 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.1404, allocations: 8 kB / 1.039 GB, free: 448 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/0.1428, allocations: 3.828 MB / 1.043 GB, free: 12.35 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1428, allocations: 0 / 1.043 GB, free: 12.35 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007009/0.1435, allocations: 422.8 kB / 1.043 GB, free: 11.91 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.1436, allocations: 31.83 kB / 1.043 GB, free: 11.88 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1436, allocations: 8 kB / 1.043 GB, free: 11.87 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.1438, allocations: 4 kB / 1.044 GB, free: 11.87 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.1438, allocations: 23.95 kB / 1.044 GB, free: 11.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.1438, allocations: 12 kB / 1.044 GB, free: 11.83 MB / 1.01 GB Notification: Performance of sorting global known variables: time 9.212e-05/0.1439, allocations: 164.7 kB / 1.044 GB, free: 11.67 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1439, allocations: 0 / 1.044 GB, free: 11.67 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003644/0.1443, allocations: 79.86 kB / 1.044 GB, free: 11.59 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.000149/0.1445, allocations: 107.2 kB / 1.044 GB, free: 11.48 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005916/0.145, allocations: 0.4937 MB / 1.044 GB, free: 10.95 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.145, allocations: 0 / 1.044 GB, free: 10.95 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003857/0.1454, allocations: 455.1 kB / 1.045 GB, free: 10.46 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.1458, allocations: 51.89 kB / 1.045 GB, free: 10.41 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009537/0.1467, allocations: 426.8 kB / 1.045 GB, free: 9.965 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.565e-05/0.1468, allocations: 84.19 kB / 1.045 GB, free: 9.863 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.1469, allocations: 33.41 kB / 1.045 GB, free: 9.828 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.1469, allocations: 20.48 kB / 1.045 GB, free: 9.809 MB / 1.01 GB Notification: Performance of SimCode: time 6.71e-07/0.1469, allocations: 0 / 1.045 GB, free: 9.809 MB / 1.01 GB Notification: Performance of Templates: time 0.007538/0.1545, allocations: 5.021 MB / 1.05 GB, free: 4.875 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.977112525142729]