Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009144/0.0009144, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009026/0.0009026, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.8974/0.8974, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.821/1.821, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.666e-06/9.868e-06, allocations: 2.938 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.001893/0.001903, allocations: 1.95 MB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1232/0.1251, allocations: 147 MB / 0.9055 GB, free: 1.301 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1252, allocations: 3.938 kB / 0.9055 GB, free: 1.297 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1253, allocations: 27.73 kB / 0.9055 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.1256, allocations: 75.34 kB / 0.9056 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.1261, allocations: 270.9 kB / 0.9058 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.1263, allocations: 275 kB / 0.9061 GB, free: 0.6602 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1264, allocations: 47.25 kB / 0.9061 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000845/0.1272, allocations: 357.4 kB / 0.9065 GB, free: 344 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.1273, allocations: 75.77 kB / 0.9066 GB, free: 268 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1273, allocations: 16 kB / 0.9066 GB, free: 252 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.1276, allocations: 183.6 kB / 0.9068 GB, free: 68 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.1276, allocations: 39.89 kB / 0.9068 GB, free: 28 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.1277, allocations: 67.83 kB / 0.9069 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.128, allocations: 267.1 kB / 0.9071 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.128, allocations: 3.984 kB / 0.9071 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.12e-07/0.128, allocations: 7.938 kB / 0.9071 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.128, allocations: 0 / 0.9071 GB, free: 15.69 MB / 0.8698 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.000493/0.1285, allocations: 432 kB / 0.9075 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.1285, allocations: 8.031 kB / 0.9075 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005608/0.1291, allocations: 163.7 kB / 0.9077 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.1292, allocations: 167.3 kB / 0.9079 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.1293, allocations: 63.73 kB / 0.9079 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.1293, allocations: 12 kB / 0.9079 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.1295, allocations: 286.6 kB / 0.9082 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1295, allocations: 0 / 0.9082 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.1296, allocations: 12 kB / 0.9082 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1296, allocations: 7.938 kB / 0.9082 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.339e-05/0.1297, allocations: 71.83 kB / 0.9083 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007338/0.1304, allocations: 0.941 MB / 0.9092 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.1307, allocations: 133.3 kB / 0.9093 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.1307, allocations: 28.84 kB / 0.9094 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.1308, allocations: 7.938 kB / 0.9094 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.1308, allocations: 34.56 kB / 0.9094 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.1308, allocations: 3.938 kB / 0.9094 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0009465/0.1317, allocations: 345.8 kB / 0.9097 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.1317, allocations: 55.41 kB / 0.9098 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.1319, allocations: 187.5 kB / 0.91 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1319, allocations: 29.7 kB / 0.91 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.1319, allocations: 140.1 kB / 0.9101 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.1319, allocations: 39.64 kB / 0.9102 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.132, allocations: 53.61 kB / 0.9102 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.308e-05/0.1321, allocations: 326.8 kB / 0.9105 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-05/0.1321, allocations: 19.98 kB / 0.9105 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.737e-05/0.1322, allocations: 70.84 kB / 0.9106 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1323, allocations: 124.1 kB / 0.9107 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1323, allocations: 0 / 0.9107 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004731/0.1328, allocations: 249.9 kB / 0.911 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1328, allocations: 4 kB / 0.911 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1328, allocations: 4 kB / 0.911 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007046/0.1335, allocations: 244.3 kB / 0.9112 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.1336, allocations: 35.91 kB / 0.9112 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.1359, allocations: 2.637 MB / 0.9138 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.136, allocations: 23.88 kB / 0.9138 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.136, allocations: 12 kB / 0.9139 GB, free: 8.297 MB / 0.8698 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.326e-05/0.1361, allocations: 120.6 kB / 0.914 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.1361, allocations: 15.92 kB / 0.914 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005692/0.1367, allocations: 261.9 kB / 0.9142 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1367, allocations: 4 kB / 0.9142 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.32e-07/0.1367, allocations: 0 / 0.9142 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1367, allocations: 0 / 0.9142 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.1369, allocations: 129.7 kB / 0.9144 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1369, allocations: 0 / 0.9144 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.619e-05/0.137, allocations: 27.98 kB / 0.9144 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000677/0.1376, allocations: 207.2 kB / 0.9146 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1377, allocations: 8 kB / 0.9146 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.1397, allocations: 2.656 MB / 0.9172 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1397, allocations: 0 / 0.9172 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005361/0.1403, allocations: 330.5 kB / 0.9175 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.1403, allocations: 27.77 kB / 0.9175 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.1403, allocations: 4 kB / 0.9175 GB, free: 4.258 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.1405, allocations: 11.98 kB / 0.9175 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.1405, allocations: 19.91 kB / 0.9176 GB, free: 4.227 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.1405, allocations: 4 kB / 0.9176 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.262e-05/0.1406, allocations: 57.05 kB / 0.9176 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.1e-08/0.1406, allocations: 0 / 0.9176 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003362/0.1409, allocations: 71.94 kB / 0.9177 GB, free: 4.094 MB / 0.8698 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.0001321/0.1411, allocations: 92.34 kB / 0.9178 GB, free: 3.996 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004509/0.1415, allocations: 365.8 kB / 0.9181 GB, free: 3.609 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.1415, allocations: 4 kB / 0.9181 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.1418, allocations: 336.4 kB / 0.9185 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.1421, allocations: 48.27 kB / 0.9185 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008383/0.1429, allocations: 423.5 kB / 0.9189 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.531e-05/0.143, allocations: 80.33 kB / 0.919 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.1431, allocations: 25.47 kB / 0.919 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.1432, allocations: 95.31 kB / 0.9191 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of SimCode: time 4.31e-07/0.1432, allocations: 0 / 0.9191 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of Templates: time 0.007997/0.1512, allocations: 5.239 MB / 0.9242 GB, free: 13.39 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.9795274790376425]