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.001529/0.001529, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.00202/0.00202, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9928/0.9928, allocations: 177.1 MB / 204.2 MB, free: 5.23 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.846/1.846, allocations: 377.9 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.653e-06/1.653e-06, allocations: 0 / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.183e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002264/0.002286, allocations: 1.95 MB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1341/0.1364, allocations: 147.6 MB / 0.9576 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.1366, allocations: 4 kB / 0.9576 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.1369, allocations: 31.66 kB / 0.9576 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.1372, allocations: 79.36 kB / 0.9577 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006542/0.1378, allocations: 274.9 kB / 0.958 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.1381, allocations: 267 kB / 0.9582 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.1383, allocations: 50.61 kB / 0.9583 GB, free: 11 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.1394, allocations: 355.4 kB / 0.9586 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.1396, allocations: 79.77 kB / 0.9587 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.1396, allocations: 16 kB / 0.9587 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.1399, allocations: 175.7 kB / 0.9589 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.14, allocations: 47.81 kB / 0.9589 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.06e-05/0.14, allocations: 67.83 kB / 0.959 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.1405, allocations: 275 kB / 0.9592 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1405, allocations: 0 / 0.9592 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1405, allocations: 3.938 kB / 0.9592 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.1405, allocations: 0 / 0.9592 GB, free: 10.08 MB / 0.9167 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.0006989/0.1412, allocations: 0.5506 MB / 0.9598 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1412, allocations: 8.031 kB / 0.9598 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000708/0.1419, allocations: 147.6 kB / 0.9599 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1422, allocations: 179.7 kB / 0.9601 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.171e-05/0.1422, allocations: 67.73 kB / 0.9602 GB, free: 9.059 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.1423, allocations: 20 kB / 0.9602 GB, free: 9.039 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.1427, allocations: 305.3 kB / 0.9605 GB, free: 8.688 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1427, allocations: 4 kB / 0.9605 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.1427, allocations: 4 kB / 0.9605 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.1427, allocations: 11.92 kB / 0.9605 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.1428, allocations: 99.81 kB / 0.9606 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.144, allocations: 1.417 MB / 0.962 GB, free: 7.082 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.1444, allocations: 167.1 kB / 0.9621 GB, free: 6.906 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.1445, allocations: 43.67 kB / 0.9622 GB, free: 6.859 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.1445, allocations: 7.984 kB / 0.9622 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1445, allocations: 33.39 kB / 0.9622 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.1445, allocations: 0 / 0.9622 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.00123/0.1458, allocations: 412.2 kB / 0.9626 GB, free: 6.395 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.1458, allocations: 59.34 kB / 0.9627 GB, free: 6.324 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.1461, allocations: 234.9 kB / 0.9629 GB, free: 6.078 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1461, allocations: 25.7 kB / 0.9629 GB, free: 6.047 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.216e-05/0.1462, allocations: 194.9 kB / 0.9631 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.1462, allocations: 47.58 kB / 0.9631 GB, free: 5.801 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.734e-05/0.1463, allocations: 55.3 kB / 0.9632 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1464, allocations: 0.4923 MB / 0.9637 GB, free: 5.234 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.011e-05/0.1465, allocations: 31.97 kB / 0.9637 GB, free: 5.203 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1466, allocations: 144.9 kB / 0.9638 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.1468, allocations: 164.1 kB / 0.964 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1468, allocations: 4 kB / 0.964 GB, free: 4.824 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006465/0.1474, allocations: 296.5 kB / 0.9643 GB, free: 4.52 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1474, allocations: 8.219 kB / 0.9643 GB, free: 4.512 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1474, allocations: 4 kB / 0.9643 GB, free: 4.508 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008238/0.1483, allocations: 243.1 kB / 0.9645 GB, free: 4.262 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1484, allocations: 31.97 kB / 0.9646 GB, free: 4.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.1512, allocations: 3.789 MB / 0.9683 GB, free: 184 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.1514, allocations: 31.84 kB / 0.9683 GB, free: 152 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.1514, allocations: 11.98 kB / 0.9683 GB, free: 140 kB / 0.9167 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 0.0001064/0.1515, allocations: 164.5 kB / 0.9685 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.1515, allocations: 23.91 kB / 0.9685 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005724/0.1521, allocations: 294.3 kB / 0.9688 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1521, allocations: 7.922 kB / 0.9688 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1521, allocations: 4 kB / 0.9688 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1521, allocations: 0 / 0.9688 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.1523, allocations: 204.3 kB / 0.969 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1523, allocations: 0 / 0.969 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.377e-05/0.1524, allocations: 23.92 kB / 0.969 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000642/0.153, allocations: 219.1 kB / 0.9692 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.153, allocations: 4 kB / 0.9692 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/0.1551, allocations: 3.837 MB / 0.973 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1551, allocations: 8.016 kB / 0.973 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008485/0.156, allocations: 409.7 kB / 0.9734 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.1561, allocations: 35.81 kB / 0.9734 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.1561, allocations: 4 kB / 0.9734 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1562, allocations: 11.92 kB / 0.9734 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/0.1563, allocations: 19.97 kB / 0.9734 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.1563, allocations: 4 kB / 0.9734 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 8.676e-05/0.1564, allocations: 167.1 kB / 0.9736 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1e-07/0.1564, allocations: 4 kB / 0.9736 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003266/0.1567, allocations: 75.89 kB / 0.9737 GB, free: 10.3 MB / 0.9323 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.0001817/0.1569, allocations: 119.1 kB / 0.9738 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005726/0.1574, allocations: 499.5 kB / 0.9742 GB, free: 9.648 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1574, allocations: 0 / 0.9742 GB, free: 9.648 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.1578, allocations: 447.1 kB / 0.9747 GB, free: 9.172 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.158, allocations: 55.94 kB / 0.9747 GB, free: 9.117 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009287/0.159, allocations: 422.9 kB / 0.9751 GB, free: 8.68 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.365e-05/0.159, allocations: 80.31 kB / 0.9752 GB, free: 8.582 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.1591, allocations: 33.56 kB / 0.9752 GB, free: 8.551 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.1592, allocations: 24.48 kB / 0.9753 GB, free: 8.527 MB / 0.9323 GB Notification: Performance of SimCode: time 8.32e-07/0.1592, allocations: 0 / 0.9753 GB, free: 8.527 MB / 0.9323 GB Notification: Performance of Templates: time 0.007109/0.1663, allocations: 5.006 MB / 0.9802 GB, free: 3.605 MB / 0.9323 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: 5.471915785688907]